|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.core.RefDataClass
com.smartgwt.client.widgets.cube.FacetValue
public class FacetValue
Facet value definition object made use of by the CubeGrid class (contained by facets)
| Field Summary |
|---|
| Fields inherited from class com.smartgwt.client.core.JsObject |
|---|
jsObj |
| Constructor Summary | |
|---|---|
FacetValue()
|
|
FacetValue(JavaScriptObject jsObj)
|
|
FacetValue(String id)
|
|
FacetValue(String id,
String title)
|
|
FacetValue(String id,
String title,
String parentId)
|
|
| Method Summary | |
|---|---|
static FacetValue[] |
convertToFacetValueArray(JavaScriptObject nativeArray)
|
Alignment |
getAlign()
Default alignment for facet label title and cells for this facetValue. |
String |
getBorderAfter()
CSS line style to apply as a border after this facetValue. |
String |
getBorderBefore()
CSS line style to apply as a border before this facetValue. |
Boolean |
getCanCollapse()
For individual parent facetValues within a hierarchical facet, this flag controls whether an expand/collapse control will be shown. |
Boolean |
getCanEdit()
Whether cells for this facetValue can be edited. |
Alignment |
getCellAlign()
Default alignment of cells (in the body) for this facetValue. |
Boolean |
getCollapsed()
For tree facets, initial collapse state for this node. |
Object |
getId()
id of this facetValue. |
Integer |
getIdAsInt()
id of this facetValue. |
String |
getIdAsString()
id of this facetValue. |
Boolean |
getIsMinimizeValue()
Used to determine which facetValue is to be shown when the facet is minimized. |
static FacetValue |
getOrCreateRef(JavaScriptObject jsObj)
|
String |
getParentId()
For tree facets ( facet.isTree), id of this facetValue's parent
facetValue. |
SelectionBoundary |
getSelectionBoundary()
Selection boundary determining what facets / facetValues can be selected together by drag selection / shift+click selection. |
String |
getTitle()
User-visible title of this facetValue. |
String |
getTitleHilite()
Hilite style to apply to the title for this facetValue. |
int |
getWidth()
Width of the cube grid facetValue in pixels. |
void |
setAlign(Alignment align)
Default alignment for facet label title and cells for this facetValue. |
void |
setBorderAfter(String borderAfter)
CSS line style to apply as a border after this facetValue. |
void |
setBorderBefore(String borderBefore)
CSS line style to apply as a border before this facetValue. |
void |
setCanCollapse(Boolean canCollapse)
For individual parent facetValues within a hierarchical facet, this flag controls whether an expand/collapse control will be shown. |
void |
setCanEdit(Boolean canEdit)
Whether cells for this facetValue can be edited. |
void |
setCellAlign(Alignment cellAlign)
Default alignment of cells (in the body) for this facetValue. |
void |
setCollapsed(Boolean collapsed)
For tree facets, initial collapse state for this node. |
void |
setId(Integer id)
id of this facetValue. |
void |
setId(String id)
id of this facetValue. |
void |
setIsMinimizeValue(Boolean isMinimizeValue)
Used to determine which facetValue is to be shown when the facet is minimized. |
void |
setParentId(String parentId)
For tree facets ( facet.isTree), id of this facetValue's parent
facetValue. |
void |
setSelectionBoundary(SelectionBoundary selectionBoundary)
Selection boundary determining what facets / facetValues can be selected together by drag selection / shift+click selection. |
void |
setTitle(String title)
User-visible title of this facetValue. |
void |
setTitleHilite(String titleHilite)
Hilite style to apply to the title for this facetValue. |
void |
setWidth(int width)
Width of the cube grid facetValue in pixels. |
| Methods inherited from class com.smartgwt.client.core.RefDataClass |
|---|
getRef, getRef |
| Methods inherited from class com.smartgwt.client.core.JsObject |
|---|
isCreated, setJsObj |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FacetValue()
public FacetValue(JavaScriptObject jsObj)
public FacetValue(String id)
public FacetValue(String id,
String title)
public FacetValue(String id,
String title,
String parentId)
| Method Detail |
|---|
public static FacetValue getOrCreateRef(JavaScriptObject jsObj)
public void setAlign(Alignment align)
align - align Default value is nullpublic Alignment getAlign()
public void setBorderAfter(String borderAfter)
borderAfter - borderAfter Default value is nullpublic String getBorderAfter()
public void setBorderBefore(String borderBefore)
borderBefore - borderBefore Default value is nullpublic String getBorderBefore()
public void setCanCollapse(Boolean canCollapse)
canCollapse - canCollapse Default value is truepublic Boolean getCanCollapse()
public void setCanEdit(Boolean canEdit)
canEdit - canEdit Default value is cubeGrid.canEditpublic Boolean getCanEdit()
public void setCellAlign(Alignment cellAlign)
cellAlign - cellAlign Default value is facet.cellAlignpublic Alignment getCellAlign()
public void setCollapsed(Boolean collapsed)
collapsed - collapsed Default value is facet.collapsedpublic Boolean getCollapsed()
public void setIsMinimizeValue(Boolean isMinimizeValue)
See canMinimizeFacets.
isMinimizeValue - isMinimizeValue Default value is falsepublic Boolean getIsMinimizeValue()
See canMinimizeFacets.
public void setParentId(String parentId)
facet.isTree), id of this facetValue's parent
facetValue.
Note : This is an advanced setting
parentId - parentId Default value is nullpublic String getParentId()
facet.isTree), id of this facetValue's parent
facetValue.
public void setSelectionBoundary(SelectionBoundary selectionBoundary)
selectionBoundary - selectionBoundary Default value is nullpublic SelectionBoundary getSelectionBoundary()
public void setTitle(String title)
title - title Default value is nullpublic String getTitle()
public void setTitleHilite(String titleHilite)
hilites.
titleHilite - titleHilite Default value is nullpublic String getTitleHilite()
hilites.
public void setWidth(int width)
width - width Default value is facet.widthpublic int getWidth()
public void setId(Integer id)
id - id Default value is nullpublic void setId(String id)
id - id Default value is nullpublic Object getId()
id - id Default value is nullpublic String getIdAsString()
id - id Default value is nullpublic Integer getIdAsInt()
id - id Default value is nullpublic static FacetValue[] convertToFacetValueArray(JavaScriptObject nativeArray)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||