com.sas.graphics.components.esrimap
Class ESRIMapDataModel

com.sas.graphics.components.esrimap.ESRIMapDataModel
Direct Known Subclasses:
ESRIMapOLAPDataModel

public class ESRIMapDataModel

Common superclass for all ESRIMap DataModels to provide a "type" of data model that can be assigned to a MapComponent.

Usage

A ESRIMapDataModel can be assigned to an instance of the ESRIMapChart class. Example:
 // Get the OLAPDataSetInterface
 OLAPDataSetInterface dsi = <...>;

 // Set up the Data Model
 // ESRIMapOLAPDataModel is a subclass of ESRIMapDataModel
 ESRIMapOLAPDataModel dataModel = new ESRIMapOLAPDataModel();
 dataModel.setModel(dsi);
 
 // Associate the Data Model with a OLAPESRIMapChart
 OLAPESRIMapChart map = new OLAPESRIMapChart();
 map.setDataModel( dataModel );
 

Extending

This class provides a type for the ESRIMapChart's data models but is only intended for internal subclassing.

Since:
SAS 9.1.3
See Also:
ESRIMapOLAPDataModel, ESRIMapChart, OLAPESRIMapChart

Constructor Summary
ESRIMapDataModel()
           
 
Method Summary
 ESRIConnection getESRIConnection()
          Returns the ESRIConnection used by the ESRIMapChart to connect to the ESRI server
 void setESRIConnection(ESRIConnection connection)
          Sets the ESRIConnection used by the ESRIMapChart to connect to the ESRI server
 
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

ESRIMapDataModel

public ESRIMapDataModel()
Method Detail

getESRIConnection

public ESRIConnection getESRIConnection()
Returns the ESRIConnection used by the ESRIMapChart to connect to the ESRI server

Returns:
The ESRIConnection object

setESRIConnection

public void setESRIConnection(ESRIConnection connection)
Sets the ESRIConnection used by the ESRIMapChart to connect to the ESRI server

Parameters:
connection - The ESRIConnection object



Copyright © 2009 SAS Institute Inc. All Rights Reserved.