public class FacetValueMap extends DataClass
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.
factoryCreated, factoryProperties
Constructor and Description |
---|
FacetValueMap() |
FacetValueMap(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
addMapping(java.lang.String facetId,
java.lang.Integer facetValueId)
Add a facet id -> facetValue id mapping to this facetValueMap
|
void |
addMapping(java.lang.String facetId,
java.lang.String facetValueId)
Add a facet id -> facetValue id mapping to this facetValueMap
|
java.lang.String[] |
getFacetIds()
Returns the array of all facet ids for which this facetValueMap currently contains mapping
|
java.lang.String |
getMapping(java.lang.String facetId)
Get the facetValue id for some facet id within this facet valueMap
|
static FacetValueMap |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
void |
removeMapping(java.lang.String facetId)
Remove a facet id -> facetValue id mapping from this facetValueMap
|
applyFactoryProperties, 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
public FacetValueMap()
public FacetValueMap(com.google.gwt.core.client.JavaScriptObject jsObj)
public static FacetValueMap getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void addMapping(java.lang.String facetId, java.lang.Integer facetValueId)
facetId
- facetValueId
- public void addMapping(java.lang.String facetId, java.lang.String facetValueId)
facetId
- facetValueId
- public java.lang.String getMapping(java.lang.String facetId)
facetId
- public void removeMapping(java.lang.String facetId)
facetId
- public java.lang.String[] getFacetIds()