|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.graphics.components.esrimap.ESRIMapOLAPDataModel
public class ESRIMapOLAPDataModel
This OLAP-specific data model is assigned to instances of OLAPESRIMapChart.
// Get the OLAPDataSetInterface OLAPDataSetInterface dsi = <...>; // Set up the Data Model ESRIMapOLAPDataModel dataModel = new ESRIMapOLAPDataModel(); dataModel.setModel(dsi); // Associate the Data Model with a OLAPESRIMapChart OLAPESRIMapChart map = new OLAPESRIMapChart(); map.setDataModel( dataModel );
ESRIMapDataModel
,
OLAPESRIMapChart
,
BaseESRIMapChart
Constructor Summary | |
---|---|
ESRIMapOLAPDataModel()
Creates an empty instance of the data model. |
|
ESRIMapOLAPDataModel(OLAPDataSetInterface newModel)
Creates a new instance of this class, and sets the model to the specified OLAP data. |
Method Summary | |
---|---|
com.sas.graphics.components.CategorizationModel |
getCategorizationModel()
Returns the CategorizationModel used by the map to bucket it's data. |
java.util.Map |
getLayerToFieldMap()
Returns the layerToFieldMap used by the map |
java.util.Map |
getLevelToLayerMap()
Returns the levelToLayerMap used by the map |
OLAPDataSetInterface |
getModel()
Returns the OLAP data referred to by this class. |
void |
setCategorizationModel(com.sas.graphics.components.CategorizationModel newModel)
Sets the CategorizationModel used by the map to bucket it's data. |
void |
setLayerToFieldMap(java.util.Map hashMap)
This is used to tell the map which field names to use for for each layer. |
void |
setLevelToLayerMap(java.util.Map hashMap)
This is used to create the relationship between the OLAP cube and the map. |
void |
setModel(OLAPDataSetInterface newModel)
Sets the OLAP data referred to by this class. |
Methods inherited from class com.sas.graphics.components.esrimap.ESRIMapDataModel |
---|
getESRIConnection, setESRIConnection |
Methods inherited from class com.sas.graphics.components.DataModel |
---|
apply, equals, getLocale, getRulesContext, getSortStrategy, hashCode, setLocale, setRulesContext, setSortStrategy |
Methods inherited from class com.sas.graphics.components.ModelBase |
---|
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, setContainedModel |
Constructor Detail |
---|
public ESRIMapOLAPDataModel()
public ESRIMapOLAPDataModel(OLAPDataSetInterface newModel)
newModel
- The new OLAP dataMethod Detail |
---|
public OLAPDataSetInterface getModel()
public void setModel(OLAPDataSetInterface newModel)
newModel
- The model to set.public void setLevelToLayerMap(java.util.Map hashMap)
getLevelToLayerMap()
public java.util.Map getLevelToLayerMap()
setLevelToLayerMap(java.util.Map)
public java.util.Map getLayerToFieldMap()
setLayerToFieldMap(java.util.Map)
public void setLayerToFieldMap(java.util.Map hashMap)
getLayerToFieldMap()
public com.sas.graphics.components.CategorizationModel getCategorizationModel()
CategorizationModel
public void setCategorizationModel(com.sas.graphics.components.CategorizationModel newModel)
newModel
- The new CategorizationModel
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |