|
|||||||||
| 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.widgets.cube.FacetValueMap
public class FacetValueMap
An object mapping facet ids to facetValue ids within a facet
The facetId -> facetValueId mappings in a FacetValueMap describe a specific slice of the dataset. If mappings are included for all facets, a FacetValueMap describes a unique cell. If some facets are omitted, it describes a row, column, or set of rectangular areas, or equivalently, a particular row or column header (if all facetIds in the map are displayed on the same axis)
FacetValueMaps are used in various contexts to describe headers, datasets to be loaded, screen regions, etc.
| Field Summary |
|---|
| Fields inherited from class com.smartgwt.client.core.JsObject |
|---|
jsObj |
| Constructor Summary | |
|---|---|
FacetValueMap()
|
|
FacetValueMap(JavaScriptObject jsObj)
|
|
| Method Summary | |
|---|---|
void |
addMapping(String facetId,
String facetValueId)
Add a facet id -> facetValue id mapping to this facetValueMap |
String[] |
getFacetIds()
Returns the array of all facet ids for which this facetValueMap currently contains mapping |
String |
getMapping(String facetId)
Get the facetValue id for some facet id within this facet valueMap |
static FacetValueMap |
getOrCreateRef(JavaScriptObject jsObj)
|
void |
removeMapping(String facetId)
Remove a facet id -> facetValue id mapping from this facetValueMap |
void |
setJavaScriptObject(JavaScriptObject jsObj)
|
| 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 FacetValueMap()
public FacetValueMap(JavaScriptObject jsObj)
| Method Detail |
|---|
public static FacetValueMap getOrCreateRef(JavaScriptObject jsObj)
public void setJavaScriptObject(JavaScriptObject jsObj)
public void addMapping(String facetId,
String facetValueId)
facetId - facetValueId - public String getMapping(String facetId)
facetId - public void removeMapping(String facetId)
facetId - public String[] getFacetIds()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||