Class FacetValue
- All Implemented Interfaces:
HasHandlers
CubeGrid
and FacetChart
classes (contained by facets).-
Field Summary
Fields inherited from class com.smartgwt.client.core.RefDataClass
id
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties
-
Constructor Summary
ConstructorDescriptionFacetValue
(JavaScriptObject jsObj) FacetValue
(Integer id) FacetValue
(Integer id, String title) FacetValue
(Integer id, String title, Integer parentId) FacetValue
(String id) FacetValue
(String id, String title) FacetValue
(String id, String title, String parentId) -
Method Summary
Modifier and TypeMethodDescriptiongetAlign()
Default alignment for facet label title and cells for this facetValue.CSS line style to apply as a border after this facetValue.CSS line style to apply as a border before this facetValue.For individual parent facetValues within a hierarchical facet, this flag controls whether an expand/collapse control will be shown.Whether cells for this facetValue can be edited.Iffacet minimizing
is enabled, whether this facet value should show controls to minimize the next facet.Default alignment of cells (in the body) for this facetValue.For tree facets, initial collapse state for this node.getId()
id of this facetValue.id of this facetValue.id of this facetValue.Used to determine which facetValue is to be shown when the facet is minimized.Initialminimize state
for this node.static FacetValue
getOrCreateRef
(JavaScriptObject jsObj) For tree facets (facet.isTree
), id of this facetValue's parent facetValue.For tree facets (facet.isTree
), id of this facetValue's parent facetValue.Deprecated.Selection boundary determining what facets / facetValues can be selected together by drag selection / shift+click selection.getTitle()
User-visible title of this facetValue.Hilite style to apply to the title for this facetValue.int
getWidth()
Width of the cube grid facetValue in pixels.Default alignment for facet label title and cells for this facetValue.setBorderAfter
(String borderAfter) CSS line style to apply as a border after this facetValue.setBorderBefore
(String borderBefore) CSS line style to apply as a border before this facetValue.setCanCollapse
(Boolean canCollapse) For individual parent facetValues within a hierarchical facet, this flag controls whether an expand/collapse control will be shown.setCanEdit
(Boolean canEdit) Whether cells for this facetValue can be edited.setCanMinimize
(Boolean canMinimize) Iffacet minimizing
is enabled, whether this facet value should show controls to minimize the next facet.setCellAlign
(Alignment cellAlign) Default alignment of cells (in the body) for this facetValue.setCollapsed
(Boolean collapsed) For tree facets, initial collapse state for this node.void
id of this facetValue.void
id of this facetValue.setIsMinimizeValue
(Boolean isMinimizeValue) Used to determine which facetValue is to be shown when the facet is minimized.setMinimized
(Boolean minimized) Initialminimize state
for this node.setParentId
(Integer parentId) For tree facets (facet.isTree
), id of this facetValue's parent facetValue.setParentId
(String parentId) For tree facets (facet.isTree
), id of this facetValue's parent facetValue.setSelectionBoundary
(SelectionBoundary selectionBoundary) Selection boundary determining what facets / facetValues can be selected together by drag selection / shift+click selection.User-visible title of this facetValue.setTitleHilite
(String titleHilite) Hilite style to apply to the title for this facetValue.setWidth
(int width) Width of the cube grid facetValue in pixels.Methods inherited from class com.smartgwt.client.core.RefDataClass
getRef, getRef, internalSetID
Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
-
Constructor Details
-
FacetValue
public FacetValue() -
FacetValue
-
FacetValue
-
FacetValue
-
FacetValue
-
FacetValue
-
FacetValue
-
FacetValue
-
-
Method Details
-
getOrCreateRef
-
setAlign
Default alignment for facet label title and cells for this facetValue. Can be overridden by setting titleAlign or cellAlign on the facetValue.Note: This property is specific to
CubeGrids
(see, for example,CubeGrid.facetValueAlign
).- Parameters:
align
- New align value. Default value is null- Returns:
FacetValue
instance, for chaining setter calls
-
getAlign
Default alignment for facet label title and cells for this facetValue. Can be overridden by setting titleAlign or cellAlign on the facetValue.Note: This property is specific to
CubeGrids
(see, for example,CubeGrid.facetValueAlign
).- Returns:
- Current align value. Default value is null
-
setBorderAfter
CSS line style to apply as a border after this facetValue.Note: This property is specific to
CubeGrids
.- Parameters:
borderAfter
- New borderAfter value. Default value is null- Returns:
FacetValue
instance, for chaining setter calls
-
getBorderAfter
CSS line style to apply as a border after this facetValue.Note: This property is specific to
CubeGrids
.- Returns:
- Current borderAfter value. Default value is null
-
setBorderBefore
CSS line style to apply as a border before this facetValue.Note: This property is specific to
CubeGrids
.- Parameters:
borderBefore
- New borderBefore value. Default value is null- Returns:
FacetValue
instance, for chaining setter calls
-
getBorderBefore
CSS line style to apply as a border before this facetValue.Note: This property is specific to
CubeGrids
.- Returns:
- Current borderBefore value. Default value is null
-
setCanCollapse
For individual parent facetValues within a hierarchical facet, this flag controls whether an expand/collapse control will be shown.Note: This property is specific to
CubeGrids
(see, for example,CubeGrid.canCollapseFacets
).- Parameters:
canCollapse
- New canCollapse value. Default value is true- Returns:
FacetValue
instance, for chaining setter calls
-
getCanCollapse
For individual parent facetValues within a hierarchical facet, this flag controls whether an expand/collapse control will be shown.Note: This property is specific to
CubeGrids
(see, for example,CubeGrid.canCollapseFacets
).- Returns:
- Current canCollapse value. Default value is true
-
setCanEdit
Whether cells for this facetValue can be edited. Defaults toCubeGrid.canEdit
.Note: This property is specific to
CubeGrids
.- Parameters:
canEdit
- New canEdit value. Default value is cubeGrid.canEdit- Returns:
FacetValue
instance, for chaining setter calls
-
getCanEdit
Whether cells for this facetValue can be edited. Defaults toCubeGrid.canEdit
.Note: This property is specific to
CubeGrids
.- Returns:
- Current canEdit value. Default value is cubeGrid.canEdit
-
setCanMinimize
Iffacet minimizing
is enabled, whether this facet value should show controls to minimize the next facet. Generally a tree facet should not also allow minimizing the next facet the interaction of the two types of collapsing can be confusing.Note: This property is specific to
CubeGrids
(see, for example,CubeGrid.canMinimizeFacets
).- Parameters:
canMinimize
- New canMinimize value. Default value is true- Returns:
FacetValue
instance, for chaining setter calls
-
getCanMinimize
Iffacet minimizing
is enabled, whether this facet value should show controls to minimize the next facet. Generally a tree facet should not also allow minimizing the next facet the interaction of the two types of collapsing can be confusing.Note: This property is specific to
CubeGrids
(see, for example,CubeGrid.canMinimizeFacets
).- Returns:
- Current canMinimize value. Default value is true
-
setCellAlign
Default alignment of cells (in the body) for this facetValue.Note: This property is specific to
CubeGrids
(see, for example,CubeGrid.cellAlign
).- Parameters:
cellAlign
- New cellAlign value. Default value is facet.cellAlign- Returns:
FacetValue
instance, for chaining setter calls
-
getCellAlign
Default alignment of cells (in the body) for this facetValue.Note: This property is specific to
CubeGrids
(see, for example,CubeGrid.cellAlign
).- Returns:
- Current cellAlign value. Default value is facet.cellAlign
-
setCollapsed
For tree facets, initial collapse state for this node. Defaults toFacet.collapsed
.Note: This property is specific to
CubeGrids
.- Parameters:
collapsed
- New collapsed value. Default value is facet.collapsed- Returns:
FacetValue
instance, for chaining setter calls
-
getCollapsed
For tree facets, initial collapse state for this node. Defaults toFacet.collapsed
.Note: This property is specific to
CubeGrids
.- Returns:
- Current collapsed value. Default value is facet.collapsed
-
setIsMinimizeValue
Used to determine which facetValue is to be shown when the facet is minimized.Note: This property is specific to
CubeGrids
. SeeCubeGrid.canMinimizeFacets
.- Parameters:
isMinimizeValue
- New isMinimizeValue value. Default value is false- Returns:
FacetValue
instance, for chaining setter calls
-
getIsMinimizeValue
Used to determine which facetValue is to be shown when the facet is minimized.Note: This property is specific to
CubeGrids
. SeeCubeGrid.canMinimizeFacets
.- Returns:
- Current isMinimizeValue value. Default value is false
-
setMinimized
Initialminimize state
for this node. Defaults toFacet.minimized
.Note: This property is specific to
CubeGrids
.- Parameters:
minimized
- New minimized value. Default value is facet.minimized- Returns:
FacetValue
instance, for chaining setter calls
-
getMinimized
Initialminimize state
for this node. Defaults toFacet.minimized
.Note: This property is specific to
CubeGrids
.- Returns:
- Current minimized value. Default value is facet.minimized
-
setParentId
For tree facets (facet.isTree
), id of this facetValue's parent facetValue.Note: This property is specific to
CubeGrids
.Note : This is an advanced setting
- Parameters:
parentId
- New parentId value. Default value is null- Returns:
FacetValue
instance, for chaining setter calls
-
getParentId
For tree facets (facet.isTree
), id of this facetValue's parent facetValue.Note: This property is specific to
CubeGrids
.- Returns:
- Current parentId value. Default value is null
-
setParentId
For tree facets (facet.isTree
), id of this facetValue's parent facetValue.Note: This property is specific to
CubeGrids
.Note : This is an advanced setting
- Parameters:
parentId
- New parentId value. Default value is null- Returns:
FacetValue
instance, for chaining setter calls
-
getParentIdAsInt
For tree facets (facet.isTree
), id of this facetValue's parent facetValue.Note: This property is specific to
CubeGrids
.- Returns:
- Current parentId value. Default value is null
-
setSelectionBoundary
Selection boundary determining what facets / facetValues can be selected together by drag selection / shift+click selection.Note: This property is specific to
CubeGrids
.- Parameters:
selectionBoundary
- New selectionBoundary value. Default value is null- Returns:
FacetValue
instance, for chaining setter calls
-
getSelectionBoundary
Selection boundary determining what facets / facetValues can be selected together by drag selection / shift+click selection.Note: This property is specific to
CubeGrids
.- Returns:
- Current selectionBoundary value. Default value is null
-
setTitle
User-visible title of this facetValue. Shown on the field header.- Parameters:
title
- New title value. Default value is null- Returns:
FacetValue
instance, for chaining setter calls
-
getTitle
User-visible title of this facetValue. Shown on the field header.- Returns:
- Current title value. Default value is null
-
setTitleHilite
Hilite style to apply to the title for this facetValue.Note: This property is specific to
CubeGrids
. SeeCubeGrid.hilites
.- Parameters:
titleHilite
- New titleHilite value. Default value is null- Returns:
FacetValue
instance, for chaining setter calls
-
getTitleHilite
Hilite style to apply to the title for this facetValue.Note: This property is specific to
CubeGrids
. SeeCubeGrid.hilites
.- Returns:
- Current titleHilite value. Default value is null
-
setWidth
Width of the cube grid facetValue in pixels.Note: This property is specific to
CubeGrids
.- Parameters:
width
- New width value. Default value is facet.width- Returns:
FacetValue
instance, for chaining setter calls
-
getWidth
public int getWidth()Width of the cube grid facetValue in pixels.Note: This property is specific to
CubeGrids
.- Returns:
- Current width value. Default value is facet.width
-
setId
id of this facetValue. Any string or number.- Parameters:
id
- id Default value is null
-
setId
id of this facetValue. Any string or number.- Parameters:
id
- id Default value is null
-
getId
id of this facetValue. Any string or number.- Parameters:
id
- id Default value is null
-
getIdAsString
id of this facetValue. Any string or number.- Parameters:
id
- id Default value is null
-
getIdAsInt
id of this facetValue. Any string or number.- Parameters:
id
- id Default value is null
-
getParentIdAsInteger
Deprecated.in favor ofgetParentIdAsInt()
.SeegetParentIdAsInt()
.
-
getParentIdAsInt()
.