public class Facet extends RefDataClass
CubeGrid
and FacetChart
classes.id
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.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.
|
static Facet |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
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 |
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 |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) |
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
doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, getJsObj, 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
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 setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setAlign(Alignment align)
Note: This property is specific to CubeGrids
(see, for example, facetValueAlign
).
align
- 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
- . See String
. Default value is nullpublic java.lang.String getBorderAfter()
Note: This property is specific
to CubeGrids
.
String
public void setBorderBefore(java.lang.String borderBefore)
Note: This property is specific
to CubeGrids
.
borderBefore
- . See String
. Default value is nullpublic java.lang.String getBorderBefore()
Note: This property is specific
to CubeGrids
.
String
public void setCanCollapse(java.lang.Boolean canCollapse)
Note: This property is specific to CubeGrids
(see, for example, canCollapseFacets
).
canCollapse
- 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
- 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
- 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
- collapsed Default value is falsepublic java.lang.Boolean getCollapsed()
Note: This property is specific to CubeGrids
.
public void setInlinedValues(java.lang.Boolean inlinedValues)
inlinedValues
behavior.inlinedValues
- 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
- 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 setRollupValue(java.lang.String rollupValue)
Note: This property is specific to CubeGrids
. See rollupValue
.
rollupValue
- . See String
. Default value is cubeGrid.rollupValuepublic java.lang.String getRollupValue()
Note: This property is specific to CubeGrids
. See rollupValue
.
String
public void setSelectionBoundary(SelectionBoundary selectionBoundary)
Note: This property is specific to CubeGrids
.
selectionBoundary
- 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
- 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
- . See String
. Default value is cubeGrid.summaryTitlepublic java.lang.String getSummaryTitle()
Note: This property is specific to CubeGrids
.
String
public void setSummaryValue(java.lang.String summaryValue)
Note: This property is specific to CubeGrids
.
summaryValue
- . See String
. Default value is cubeGrid.summaryValuepublic java.lang.String getSummaryValue()
Note: This property is specific to CubeGrids
.
String
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
- 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
- . See String
. Default value is nullpublic java.lang.String getTitle()
String
public void setTitleAlign(Alignment titleAlign)
Note: This property is specific to CubeGrids
.
titleAlign
- 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
- values Default value is nullFacetValue
public FacetValue[] getValues()
FacetValue
public void setWidth(int width)
Note: This property is specific to CubeGrids
.
width
- 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