|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.graphics.html.ESRIMapChart
public class ESRIMapChart
***WARNING***
This class is an experimental class and is largely untested.
The ESRIMapChart TransformationBean is a servlet component that produces maps that support the visualization of a single response variable. The maps are drawn using a connection to an ESRI server, where regions of the map are colored based on the response value (measure). The map allows for traditional mapping exploration, such as zoom and pan.
Note. This class uses a ESRIMapTableDataModel to map relational data to server-side graphs in Java servlets or JavaServer Pages (JSP). This class uses the models in the com.sas.graphics.components package. It is also possible to directly use the image renderer class, com.sas.graphics.map.ESRIMap class.
ESRIMapModel
,
ESRIMapDataModel
,
ESRIMapTableDataModel
,
GraphStyle
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
DEFAULT_TEMPLATE_FILE_NAME
|
Fields inherited from class com.sas.servlet.tbeans.graphics.BaseESRIMapChart |
---|
graphStyle, legendSize, mode |
Constructor Summary | |
---|---|
ESRIMapChart()
Constructs a new MapComponent Transformation Bean |
Method Summary | |
---|---|
void |
contentsChanged(com.sas.collection.ContentsChangedEvent event)
|
java.lang.String |
getFormAction()
Returns the FormAction used for this object |
java.lang.String |
getGeoString()
|
ActionList |
getMapActions()
|
ActionList |
getOtherMapActions()
Returns a list of Actions that are found in the "Other" area of the map. |
byte[] |
getPrintImage()
Returns an image suitable for printing. |
ActionList |
getToolbarActions()
Returns a list of the Actions that are available on the toolbar. |
java.lang.String[] |
identify(int x,
int y)
This method returns an array of Strings that represent the known information about the map region found at the pixel coordinate (x,y). |
boolean |
isMapEnabled()
|
int |
performAction()
Do the real work for rendering a map. |
void |
performAction(boolean internal)
Internally used to perform a map action |
void |
printDebugInfo(ESRIMap myMap)
Prints debug information about the map, map service, OLAP config info, etc to the output log |
void |
propertyChange(java.beans.PropertyChangeEvent arg0)
|
static void |
servletInvocationMethod(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method is used internally to invoke servlets for the crossing selector and the information window. |
void |
setDataModel(ESRIMapDataModel model)
Sets the model on the viewer. |
void |
setFormAction(java.lang.String action)
Sets the FormAction for use on this object |
void |
setGeoString(java.lang.String geoString)
|
void |
write(java.io.PrintWriter out)
Writes the component to the passed-in output stream. |
java.lang.String |
writeIdentify(javax.servlet.http.HttpServletRequest request)
|
Methods inherited from class com.sas.servlet.tbeans.graphics.BaseESRIMapChart |
---|
applyGraphStyle, getDataModel, getDefaultLayerVisibilities, getGraphModel, getImageLocation, getLayerVisibilities, getLegendImageMimeData, getLegendSize, getLocale, getMapExtents, getMapImageMimeData, getMapSize, getStyleMap, isAutoZoom, isDebug, isDisabledImage, isRedrawMap, isUseSession, setAutoZoom, setDebug, setDisabledImage, setGraphModel, setImageLocation, setLayerVisibilities, setLayerVisibility, setLocale, setMapExtents, setMapExtents, setRedrawMap, setSize, setStyleMap, setUseSavedMapExtents, setUseSession |
Methods inherited from class com.sas.servlet.tbeans.BaseActionTransformation |
---|
dispose, getActionProvider, getActionSupportType, getUniqueId, isActionVisible, listActionTypes, listAreaTypes, setActionProvider, setActionSupportType, setActionVisible, setUniqueId |
Methods inherited from interface com.sas.servlet.tbeans.ComplexStyleInterface |
---|
getStyleMap |
Methods inherited from interface com.sas.actionprovider.HttpActionProviderViewInterface |
---|
getRequest, setRequest |
Field Detail |
---|
public static java.lang.String DEFAULT_TEMPLATE_FILE_NAME
Constructor Detail |
---|
public ESRIMapChart()
Method Detail |
---|
public int performAction()
public void printDebugInfo(ESRIMap myMap)
printDebugInfo
in class BaseESRIMapChart
myMap
- public void performAction(boolean internal)
internal
- public ActionList getMapActions()
public ActionList getOtherMapActions()
public ActionList getToolbarActions()
public void write(java.io.PrintWriter out) throws java.io.IOException
write
in interface TransformationInterface
write
in interface com.sas.util.WriteToPrintWriterInterface
write
in class BaseActionTransformation
out
- The output stream
java.io.IOException
- Thrown if some type of I/O error occursWriteToPrintWriterInterface.write(java.io.PrintWriter)
public byte[] getPrintImage()
public java.lang.String[] identify(int x, int y)
x
- the x locationy
- the y location
public static void servletInvocationMethod(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
request
- response
-
javax.servlet.ServletException
java.io.IOException
public java.lang.String writeIdentify(javax.servlet.http.HttpServletRequest request)
public void setFormAction(java.lang.String action)
action
- public java.lang.String getFormAction()
public void contentsChanged(com.sas.collection.ContentsChangedEvent event)
contentsChanged
in interface com.sas.collection.ContentsChangedListener
public void setDataModel(ESRIMapDataModel model)
setDataModel
in class BaseESRIMapChart
model
- an instance of the ESRIMapDataModelESRIMapDataModel
public boolean isMapEnabled()
public java.lang.String getGeoString()
public void setGeoString(java.lang.String geoString)
geoString
- The geoString to set.public void propertyChange(java.beans.PropertyChangeEvent arg0)
propertyChange
in interface java.beans.PropertyChangeListener
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |