|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.olapgraphics.html.OLAPESRIMapChart
public class OLAPESRIMapChart
The OLAPESRIMapChart TransformationBean is a servlet component that produces maps that support the visualisation 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 OLAP exploration, such as drilldown and expand, as well as traditional mapping tools, such as zoom and pan.
Note. This class uses an ESRIMapOLAPDataModel. to map OLAP 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.
ESRIMapModel
,
ESRIMapDataModel
,
ESRIMapOLAPDataModel
,
GraphStyle
,
Serialized FormField Summary |
---|
Fields inherited from class com.sas.servlet.tbeans.graphics.BaseESRIMapChart |
---|
graphStyle, mode |
Constructor Summary | |
---|---|
OLAPESRIMapChart()
Constructs a new MapComponent Transformation Bean |
Method Summary | |
---|---|
java.lang.String |
getFormAction()
Returns the FormAction used for this object |
java.util.List |
getPopupModel()
Builds the model for popup menu. |
byte[] |
getPrintImage()
Creates an image suitable for printing, containing the map, the legend, and a text string for the measure combo box. |
java.lang.String |
getReportLinkingText()
Returns the text used for the report linking popup menu |
java.lang.String[] |
identify(int x,
int y)
This method returns an array of Strings that represent the known information about the map feature found at the coordinate (x,y). |
boolean |
isReportLinkingOn()
Returns the visibility of the popup menu used for report linking. |
boolean |
isShowCrossing()
Returns whether the map is currently displaying the crossing information. |
void |
performAction()
Do the real work for rendering a map. |
void |
printDebugInfo(ESRIMap myMap)
Prints debug information about the map, map service, OLAP config info, etc to the output log. |
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 |
setReportLinkingOn(boolean reportLinkingOn)
Controls the display of the popup menu for report linking. |
void |
setReportLinkingText(java.lang.String reportLinkingText)
Sets the text used for the report linking popup menu |
void |
setShowCrossing(boolean showCrossing)
Sets whether the map should show crossing information underneath the map image. |
void |
setSize(int width,
int height)
This sets the size of the MapComponent. |
void |
write(java.io.PrintWriter out)
Writes the component to the passed-in output stream. |
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, 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 |
Constructor Detail |
---|
public OLAPESRIMapChart()
Method Detail |
---|
public void performAction()
public void printDebugInfo(ESRIMap myMap)
printDebugInfo
in class BaseESRIMapChart
myMap
- The ESRIMap to use.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 occurspublic byte[] getPrintImage()
public java.lang.String[] identify(int x, int y)
x
- the x locationy
- the y location
public void setFormAction(java.lang.String action)
action
- public java.lang.String getFormAction()
public void setDataModel(ESRIMapDataModel model)
setDataModel
in class BaseESRIMapChart
model
- an instance of the ESRIMapDataModelESRIMapDataModel
public void setSize(int width, int height)
setSize
in class BaseESRIMapChart
width
- The chart widthheight
- The chart heightBaseGraphics.setSize(int, int)
,
BaseESRIMapChart.getMapSize()
,
BaseESRIMapChart.getLegendSize()
public boolean isShowCrossing()
setShowCrossing(boolean)
public void setShowCrossing(boolean showCrossing)
showCrossing
- public java.util.List getPopupModel()
public boolean isReportLinkingOn()
setReportLinkingOn(boolean)
public void setReportLinkingOn(boolean reportLinkingOn)
reportLinkingOn
- setReportLinkingOn(boolean)
public java.lang.String getReportLinkingText()
setReportLinkingText(String)
public void setReportLinkingText(java.lang.String reportLinkingText)
reportLinkingText
- getReportLinkingText()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |