public class Facet extends RefDataClass
CubeGrid
and FacetChart
classes.id
factoryCreated, factoryProperties
Constructor and Description |
---|
Facet() |
Facet(com.google.gwt.core.client.JavaScriptObject jsObj) |
Facet(java.lang.String id) |
Facet(java.lang.String id,
java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
Alignment |
getAlign()
Default alignment for facet label title, and cells for this facet.
|
java.lang.String |
getBorderAfter()
CSS line style to apply as a border after this facet, eg "1px dashed blue"
|
java.lang.String |
getBorderBefore()
CSS line style to apply as a border before this facet, eg "1px dashed blue"
|
java.lang.Boolean |
getCanCollapse()
For tree facets, whether expand/collapse controls should be shown.
|
java.lang.Boolean |
getCanMinimize()
If facet minimizing is enabled, whether this facet should show controls to minimize the next facet.
|
Alignment |
getCellAlign()
Default alignment of cells (in the body) for this facet.
|
java.lang.Boolean |
getCollapsed()
For tree facets, default collapse state for parent nodes.
|
java.lang.Integer |
getHeight()
Integer number of pixels.
|
java.lang.Object |
getId()
id of this facet.
|
java.lang.Integer |
getIdAsInt()
id of this facet.
|
java.lang.String |
getIdAsString()
id of this facet.
|
java.lang.Boolean |
getInlinedValues()
When applied to a Chart, does the chart's data contain multiple values per record for this facet.
|
java.lang.Boolean |
getIsTree()
Marks this facet as a hierarchical facet.
|
java.lang.Integer |
getLabelHeight()
Integer number of pixels.
|
static Facet |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.String |
getProportionalTitle()
For
FacetCharts only, this property specifies the value axis label
when a FacetChart is in proportional rendering mode
and has this facet as its legend facet . |
java.lang.String |
getRollupValue()
facetValueId of the rollup facetValue for this facet.
|
SelectionBoundary |
getSelectionBoundary()
Selection boundary determining what facets / facetValues can be selected together by drag selection / shift+click
selection.
|
java.lang.Boolean |
getShowParentsLast()
Indicates internal hierarchy should be displayed in reverse of normal tree order (so that parents follow children).
|
java.lang.String |
getSummaryTitle()
Title for facet summary.
|
java.lang.String |
getSummaryValue()
Value for facet summary.
|
java.lang.Boolean |
getSynchColumnLayout()
If true, treat all values in this facet as a facetValueGroup - causes synched header reorder and resize.
|
java.lang.String |
getTitle()
User-visible title of this facet.
|
Alignment |
getTitleAlign()
Alignment of facet label title.
|
FacetValue[] |
getValues()
Array of facetValue definitions.
|
int |
getWidth()
Integer number of pixels.
|
void |
setAlign(Alignment align)
Default alignment for facet label title, and cells for this facet.
|
void |
setBorderAfter(java.lang.String borderAfter)
CSS line style to apply as a border after this facet, eg "1px dashed blue"
|
void |
setBorderBefore(java.lang.String borderBefore)
CSS line style to apply as a border before this facet, eg "1px dashed blue"
|
void |
setCanCollapse(java.lang.Boolean canCollapse)
For tree facets, whether expand/collapse controls should be shown.
|
void |
setCanMinimize(java.lang.Boolean canMinimize)
If facet minimizing is enabled, whether this facet should show controls to minimize the next facet.
|
void |
setCellAlign(Alignment cellAlign)
Default alignment of cells (in the body) for this facet.
|
void |
setCollapsed(java.lang.Boolean collapsed)
For tree facets, default collapse state for parent nodes.
|
void |
setHeight(java.lang.Integer height)
Integer number of pixels.
|
void |
setId(java.lang.Integer id)
id of this facet.
|
void |
setId(java.lang.String id)
id of this facet.
|
void |
setInlinedValues(java.lang.Boolean inlinedValues)
When applied to a Chart, does the chart's data contain multiple values per record for this facet.
|
void |
setIsTree(java.lang.Boolean isTree)
Marks this facet as a hierarchical facet.
|
void |
setLabelHeight(java.lang.Integer labelHeight)
Integer number of pixels.
|
void |
setProportionalTitle(java.lang.String proportionalTitle)
For
FacetCharts only, this property specifies the value axis label
when a FacetChart is in proportional rendering mode
and has this facet as its legend facet . |
void |
setRollupValue(java.lang.String rollupValue)
facetValueId of the rollup facetValue for this facet.
|
void |
setSelectionBoundary(SelectionBoundary selectionBoundary)
Selection boundary determining what facets / facetValues can be selected together by drag selection / shift+click
selection.
|
void |
setShowParentsLast(java.lang.Boolean showParentsLast)
Indicates internal hierarchy should be displayed in reverse of normal tree order (so that parents follow children).
|
void |
setSummaryTitle(java.lang.String summaryTitle)
Title for facet summary.
|
void |
setSummaryValue(java.lang.String summaryValue)
Value for facet summary.
|
void |
setSynchColumnLayout(java.lang.Boolean synchColumnLayout)
If true, treat all values in this facet as a facetValueGroup - causes synched header reorder and resize.
|
void |
setTitle(java.lang.String title)
User-visible title of this facet.
|
void |
setTitleAlign(Alignment titleAlign)
Alignment of facet label title.
|
void |
setValues(FacetValue... values)
Array of facetValue definitions.
|
void |
setWidth(int width)
Integer number of pixels.
|
getRef, getRef, internalSetID
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, 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
public Facet()
public Facet(com.google.gwt.core.client.JavaScriptObject jsObj)
public Facet(java.lang.String id)
public Facet(java.lang.String id, java.lang.String title)
public static Facet getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setAlign(Alignment align)
Note: This property is specific to CubeGrids
(see, for example, facetValueAlign
).
align
- Default value is nullsetTitleAlign(com.smartgwt.client.types.Alignment)
,
setCellAlign(com.smartgwt.client.types.Alignment)
public Alignment getAlign()
Note: This property is specific to CubeGrids
(see, for example, facetValueAlign
).
getTitleAlign()
,
getCellAlign()
public void setBorderAfter(java.lang.String borderAfter)
Note: This property is specific
to CubeGrids
.
borderAfter
- Default value is nullpublic java.lang.String getBorderAfter()
Note: This property is specific
to CubeGrids
.
public void setBorderBefore(java.lang.String borderBefore)
Note: This property is specific
to CubeGrids
.
borderBefore
- Default value is nullpublic java.lang.String getBorderBefore()
Note: This property is specific
to CubeGrids
.
public void setCanCollapse(java.lang.Boolean canCollapse)
Note: This property is specific to CubeGrids
(see, for example, canCollapseFacets
).
canCollapse
- Default value is facet.isTreepublic java.lang.Boolean getCanCollapse()
Note: This property is specific to CubeGrids
(see, for example, canCollapseFacets
).
public void setCanMinimize(java.lang.Boolean canMinimize)
Note: This property is specific to CubeGrids
. See canMinimizeFacets
.
canMinimize
- Default value is cubeGrid.canMinimizeFacetspublic java.lang.Boolean getCanMinimize()
Note: This property is specific to CubeGrids
. See canMinimizeFacets
.
public void setCellAlign(Alignment cellAlign)
Note: This property is specific to CubeGrids
.
cellAlign
- Default value is cubeGrid.cellAlignCubeGrid.setCellAlign(com.smartgwt.client.types.Alignment)
public Alignment getCellAlign()
Note: This property is specific to CubeGrids
.
CubeGrid.getCellAlign()
public void setCollapsed(java.lang.Boolean collapsed)
Note: This property is specific to CubeGrids
.
collapsed
- Default value is falsepublic java.lang.Boolean getCollapsed()
Note: This property is specific to CubeGrids
.
public void setHeight(java.lang.Integer height)
If this
property conflicts with a labelHeight
, the greater of the
two properties will be used for determining the height of the affected row.
Note: This property is specific
to CubeGrids
.
height
- Default value is nullpublic java.lang.Integer getHeight()
If this
property conflicts with a labelHeight
, the greater of the
two properties will be used for determining the height of the affected row.
Note: This property is specific
to CubeGrids
.
public void setInlinedValues(java.lang.Boolean inlinedValues)
inlinedValues
behavior.inlinedValues
- Default value is nullpublic java.lang.Boolean getInlinedValues()
inlinedValues
behavior.public void setIsTree(java.lang.Boolean isTree)
If set, facet.value
will be linked as for a modelType:"parent"
Tree,
using facetValue.id
and facetValue.parentId
. Expand/collapse controls will be shown
allowing navigation of the facet's values.
The CubeGrid's load on demand
system automatically avoids fetching data for
facetValues that are not currently visible due to the expand/collapse state of a tree facet.
Initial open/close
state can be controlled via facet.collapsed
and collapsed
.
Note: This property is specific to
CubeGrids
.
isTree
- Default value is falsepublic java.lang.Boolean getIsTree()
If set, facet.value
will be linked as for a modelType:"parent"
Tree,
using facetValue.id
and facetValue.parentId
. Expand/collapse controls will be shown
allowing navigation of the facet's values.
The CubeGrid's load on demand
system automatically avoids fetching data for
facetValues that are not currently visible due to the expand/collapse state of a tree facet.
Initial open/close
state can be controlled via facet.collapsed
and collapsed
.
Note: This property is specific to
CubeGrids
.
public void setLabelHeight(java.lang.Integer labelHeight)
If this property conflicts with a height
, the greater of the two properties will be used for determining
the height of the affected row.
Note: This property is specific to CubeGrids
.
labelHeight
- Default value is nullpublic java.lang.Integer getLabelHeight()
If this property conflicts with a height
, the greater of the two properties will be used for determining
the height of the affected row.
Note: This property is specific to CubeGrids
.
public void setProportionalTitle(java.lang.String proportionalTitle)
FacetCharts
only, this property specifies the value axis label
when a FacetChart is in proportional rendering mode
and has this facet as its legend facet
. If the
proportionalTitle
is not specified then proportionalAxisLabel
is used as the default
title.proportionalTitle
- Default value is nullpublic java.lang.String getProportionalTitle()
FacetCharts
only, this property specifies the value axis label
when a FacetChart is in proportional rendering mode
and has this facet as its legend facet
. If the
proportionalTitle
is not specified then proportionalAxisLabel
is used as the default
title.public void setRollupValue(java.lang.String rollupValue)
Note: This property is specific to CubeGrids
. See rollupValue
.
rollupValue
- Default value is cubeGrid.rollupValuepublic java.lang.String getRollupValue()
Note: This property is specific to CubeGrids
. See rollupValue
.
public void setSelectionBoundary(SelectionBoundary selectionBoundary)
Note: This property is specific to CubeGrids
.
selectionBoundary
- Default value is nullpublic SelectionBoundary getSelectionBoundary()
Note: This property is specific to CubeGrids
.
public void setShowParentsLast(java.lang.Boolean showParentsLast)
Note: This property is specific to CubeGrids
.
showParentsLast
- Default value is falsepublic java.lang.Boolean getShowParentsLast()
Note: This property is specific to CubeGrids
.
public void setSummaryTitle(java.lang.String summaryTitle)
Note: This property is specific to CubeGrids
.
summaryTitle
- Default value is cubeGrid.summaryTitlepublic java.lang.String getSummaryTitle()
Note: This property is specific to CubeGrids
.
public void setSummaryValue(java.lang.String summaryValue)
Note: This property is specific to CubeGrids
.
summaryValue
- Default value is cubeGrid.summaryValuepublic java.lang.String getSummaryValue()
Note: This property is specific to CubeGrids
.
public void setSynchColumnLayout(java.lang.Boolean synchColumnLayout)
Note: This property is specific to CubeGrids
and is only
supported when all of a facet's values are used.
synchColumnLayout
- Default value is truepublic java.lang.Boolean getSynchColumnLayout()
Note: This property is specific to CubeGrids
and is only
supported when all of a facet's values are used.
public void setTitle(java.lang.String title)
title
- Default value is nullpublic java.lang.String getTitle()
public void setTitleAlign(Alignment titleAlign)
Note: This property is specific to CubeGrids
.
titleAlign
- Default value is cubeGrid.facetTitleAlignCubeGrid.setFacetTitleAlign(com.smartgwt.client.types.Alignment)
public Alignment getTitleAlign()
Note: This property is specific to CubeGrids
.
CubeGrid.getFacetTitleAlign()
public void setValues(FacetValue... values)
values
- Default value is nullFacetValue
public FacetValue[] getValues()
FacetValue
public void setWidth(int width)
Note: This property is specific to CubeGrids
.
width
- Default value is cubeGrid.defaultFacetWidthCubeGrid.setDefaultFacetWidth(int)
public int getWidth()
Note: This property is specific to CubeGrids
.
CubeGrid.getDefaultFacetWidth()
public void setId(java.lang.Integer id)
id
- id Default value is nullpublic void setId(java.lang.String id)
id
- id Default value is nullpublic java.lang.Object getId()
id
- id Default value is nullpublic java.lang.String getIdAsString()
id
- id Default value is nullpublic java.lang.Integer getIdAsInt()
id
- id Default value is null