|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.servlet.tbeans.olapgraphics.html.OLAPESRIMapComposite
public class OLAPESRIMapComposite
MapComposite is a TransformationBean that is composed of other TransformationBeans. The MapComposite has a MenuBar and OLAPESRIMapChart as main sub-components, as well as a combo box for selecting the measure displayed on the OLAPESRIMapChart. The legend image from the map is also displayed.
OLAPESRIMapChart,
OLAPESRIMapMenu,
Label,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
MAPCOMPOSITE_CROSSING_LABEL
String used for the component name when adding the crosing label, specifically within the setComponent() call. |
static java.lang.String |
MAPCOMPOSITE_CROSSING_TITLE_LABEL
String used for the component name when adding the crosing title label, specifically within the setComponent() call. |
static java.lang.String |
MAPCOMPOSITE_DRILLSTATE
String used for the component name when adding the drill state, specifically within the setComponent() call. |
static java.lang.String |
MAPCOMPOSITE_LEGEND
String used for the component name when adding the legend image, specifically within the setComponent() call. |
static java.lang.String |
MAPCOMPOSITE_MEASURE_DROPDOWN
String used for the component name when adding the measure dropdown, specifically within the setComponent() call. |
| Fields inherited from class com.sas.servlet.tbeans.BaseActionCompositeTransformation |
|---|
viewerSupport |
| Constructor Summary | |
|---|---|
OLAPESRIMapComposite()
Constructs a new MapComposite object with a null data model |
|
OLAPESRIMapComposite(OLAPDataSetInterface model)
Constructs a new MapComposite object with the passed in data model |
|
OLAPESRIMapComposite(OLAPDataSetInterface dataModel,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Constructs a new MapComposite object |
|
| Method Summary | |
|---|---|
void |
cleanUpResources()
This method releases all of the necessary resources that were needed by the transformation bean to render itself. |
java.util.HashMap |
getAdditionalParameters()
Returns an HashMap containing additional parameters that should be added to the form used to perform the various actions on the MapComposite. |
Form |
getDefaultFormObject()
Gets the default form object to be used by the panel |
Form |
getFormObject()
Gets the form object to be used by the panel |
OLAPDataSetInterface |
getModel()
Returns the model on the viewer. |
byte[] |
getPrintImage()
Creates and returns a byte stream that composes the various pieces of the MapComposite. |
boolean |
isFormEnabled()
Determines if the MapComposite should render its formObject. |
boolean |
isUseSession()
Returns whether the Session object should be used during the write() method. |
void |
setAdditionalParameter(java.lang.String name,
java.lang.String value)
Sets an additional parameter to be added to the form used to perform the various actions on the MapComposite. |
void |
setAdditionalParameters(java.util.HashMap map)
Sets an HashMap containing additional parameters that should be added to the form used to perform the various actions on the MapComposite. |
void |
setFormEnabled(boolean enable)
Sets whether the MapComposite should render its formObject. |
void |
setFormObject(Form form)
Sets the form object to be used by the panel |
void |
setMeasureComboBoxSize(java.awt.Dimension d)
Sets the size of the measure combo |
void |
setModel(OLAPDataSetInterface dataModel)
Sets the model on the viewer. |
void |
setUseSession(boolean useSession)
Sets whether the Session object should be used during the write() method. |
void |
write(java.io.PrintWriter out)
Writes all the components in this composite using the given Template. |
| Methods inherited from class com.sas.servlet.tbeans.BaseActionCompositeTransformation |
|---|
applyTemplate, applyTemplate, dispose, getActionFilter, getActionSupportType, getComponentAction, getComponentActionType, getUniqueId, getViewerSupport, isActionVisible, listActionTypes, listAreaTypes, moveActionAttributesToComponent, setActionProvider, setActionSupportType, setActionVisible, setComponent, setComponentActionType, setUniqueId, writeTemplate |
| Methods inherited from class com.sas.servlet.tbeans.BaseCompositeTransformation |
|---|
getActionProvider, getComponent, getComponents, getDefaultTemplate, getStyleInfo, getStyleMap, getTemplate, getTemplateDictionary, getTemplateFileName, getTemplateLocation, getVisibleComponents, isFlushEnabled, propertyChange, removeComponent, setCleanUpResourcesOn, setComponent, setFlushEnabled, setId, setLocale, setRequest, setResponse, setStyleInfo, setTemplate, setTemplate, setTemplateDictionary, setTemplateFileName, setTemplateLocation |
| Methods inherited from interface com.sas.actionprovider.HttpActionProviderViewInterface |
|---|
getRequest, setRequest |
| Methods inherited from interface com.sas.actionprovider.HttpActionProviderInterface |
|---|
getActionProvider |
| Field Detail |
|---|
public static final java.lang.String MAPCOMPOSITE_MEASURE_DROPDOWN
public static final java.lang.String MAPCOMPOSITE_LEGEND
public static final java.lang.String MAPCOMPOSITE_DRILLSTATE
public static final java.lang.String MAPCOMPOSITE_CROSSING_LABEL
public static final java.lang.String MAPCOMPOSITE_CROSSING_TITLE_LABEL
| Constructor Detail |
|---|
public OLAPESRIMapComposite()
public OLAPESRIMapComposite(OLAPDataSetInterface model)
model - The model used for this composite
public OLAPESRIMapComposite(OLAPDataSetInterface dataModel,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
dataModel - The model used for this compositerequest - The HttpServletRequest objectresponse - the HttpServletResponse object| Method Detail |
|---|
public void setModel(OLAPDataSetInterface dataModel)
setModel in class com.sas.servlet.tbeans.olapgraphics.html.OLAPGraphCompositedataModel - an instance of the OLAPDataSetInterfacepublic OLAPDataSetInterface getModel()
getModel in class com.sas.servlet.tbeans.olapgraphics.html.OLAPGraphComposite
public void write(java.io.PrintWriter out)
throws java.io.IOException
request and response back to null.
The MapComposite is composed of the map, a measure dropdown, and the legend.
write in interface TransformationInterfacewrite in interface com.sas.util.WriteToPrintWriterInterfacewrite in class com.sas.servlet.tbeans.olapgraphics.html.OLAPGraphCompositeout - The output stream
java.io.IOException - Thrown if some type of I/O error occurspublic void cleanUpResources()
request and response. This method
calls the setRequest and setResponse methods with a null value.
cleanUpResources in class BaseTransformationpublic void setMeasureComboBoxSize(java.awt.Dimension d)
d - The new sizepublic void setFormObject(Form form)
setFormObject in interface FormViewInterfaceform - The form objectpublic Form getFormObject()
getFormObject in interface FormViewInterfacepublic Form getDefaultFormObject()
getDefaultFormObject in interface FormViewInterfacepublic java.util.HashMap getAdditionalParameters()
getAdditionalParameters in interface FormViewInterfaceHashMappublic void setAdditionalParameters(java.util.HashMap map)
setAdditionalParameters in interface FormViewInterfacemap - HashMap objectHashMap
public void setAdditionalParameter(java.lang.String name,
java.lang.String value)
setAdditionalParameter in interface FormViewInterfacename - name of the list itemvalue - value of the list itemHashMappublic void setFormEnabled(boolean enable)
setFormEnabled in interface FormViewInterfaceenable - true if the formObject should be rendered by the tbeanpublic boolean isFormEnabled()
isFormEnabled in interface FormViewInterfacepublic byte[] getPrintImage()
public boolean isUseSession()
public void setUseSession(boolean useSession)
useSession - The useSession to set.
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||