|
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 FormField 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 compositepublic 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 objectMethod Detail |
---|
public void setModel(OLAPDataSetInterface dataModel)
setModel
in class com.sas.servlet.tbeans.olapgraphics.html.OLAPGraphComposite
dataModel
- 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 TransformationInterface
write
in interface com.sas.util.WriteToPrintWriterInterface
write
in class com.sas.servlet.tbeans.olapgraphics.html.OLAPGraphComposite
out
- 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 BaseTransformation
public void setMeasureComboBoxSize(java.awt.Dimension d)
d
- The new sizepublic void setFormObject(Form form)
setFormObject
in interface FormViewInterface
form
- The form objectpublic Form getFormObject()
getFormObject
in interface FormViewInterface
public Form getDefaultFormObject()
getDefaultFormObject
in interface FormViewInterface
public java.util.HashMap getAdditionalParameters()
getAdditionalParameters
in interface FormViewInterface
HashMap
public void setAdditionalParameters(java.util.HashMap map)
setAdditionalParameters
in interface FormViewInterface
map
- HashMap objectHashMap
public void setAdditionalParameter(java.lang.String name, java.lang.String value)
setAdditionalParameter
in interface FormViewInterface
name
- name of the list itemvalue
- value of the list itemHashMap
public void setFormEnabled(boolean enable)
setFormEnabled
in interface FormViewInterface
enable
- true if the formObject should be rendered by the tbeanpublic boolean isFormEnabled()
isFormEnabled
in interface FormViewInterface
public 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 |