Package com.smartgwt.client.widgets.cube
Class FacetValueMap
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.widgets.cube.FacetValueMap
- All Implemented Interfaces:
- HasHandlers
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 SummaryFields inherited from class com.smartgwt.client.core.DataClassfactoryCreated, factoryProperties
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddMapping(String facetId, Integer facetValueId) Add a facet id -> facetValue id mapping to this facetValueMapvoidaddMapping(String facetId, String facetValueId) Add a facet id -> facetValue id mapping to this facetValueMapString[]Returns the array of all facet ids for which this facetValueMap currently contains mappinggetMapping(String facetId) Get the facetValue id for some facet id within this facet valueMapstatic FacetValueMapgetOrCreateRef(JavaScriptObject jsObj) voidremoveMapping(String facetId) Remove a facet id -> facetValue id mapping from this facetValueMapMethods inherited from class com.smartgwt.client.core.DataClassapplyFactoryProperties, 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- 
FacetValueMappublic FacetValueMap()
- 
FacetValueMap
 
- 
- 
Method Details- 
getOrCreateRef
- 
addMappingAdd a facet id -> facetValue id mapping to this facetValueMap- Parameters:
- facetId-
- facetValueId-
 
- 
addMappingAdd a facet id -> facetValue id mapping to this facetValueMap- Parameters:
- facetId-
- facetValueId-
 
- 
getMappingGet the facetValue id for some facet id within this facet valueMap- Parameters:
- facetId-
 
- 
removeMappingRemove a facet id -> facetValue id mapping from this facetValueMap- Parameters:
- facetId-
 
- 
getFacetIdsReturns the array of all facet ids for which this facetValueMap currently contains mapping- Returns:
 
 
-