|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.graphics.html.ESRIMapComposite
public class ESRIMapComposite
***WARNING***
This class is an experimental class and is largely untested.
MapComposite is a TransformationBean that is composed of other TransformationBeans. The MapComposite has a MenuBar and ESRIMapChart as main sub-components. The legend image from the map is also displayed.
com.sas.servlet.tbeans.graphics.html.MapComponent
,
ESRIMapMenu
,
Label
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
MAPCOMPOSITE_CONTAINER_STYLE
|
static java.lang.String |
MAPCOMPOSITE_LEGEND
|
static java.lang.String |
MAPCOMPOSITE_MENUBAR_CONTAINER
|
Fields inherited from class com.sas.servlet.tbeans.BaseActionCompositeTransformation |
---|
viewerSupport |
Fields inherited from interface com.sas.servlet.tbeans.graphics.html.GraphCompositeKeysInterface |
---|
GRAPH_APPLIEDFILTERS, GRAPH_CHART, GRAPH_FOOTER, GRAPH_MENUBAR, GRAPH_TITLE |
Fields inherited from interface com.sas.servlet.tbeans.graphics.html.GraphCompositeStyleKeysInterface |
---|
GRAPH_CONTAINER_STYLE, GRAPH_CONTENT_STYLE, GRAPH_FOOTER_STYLE, GRAPH_STYLE, GRAPH_TITLE_STYLE, GRAPH_TOOLBAR_STYLE |
Constructor Summary | |
---|---|
ESRIMapComposite()
Constructs a new MapComposite object with a null data model |
|
ESRIMapComposite(javax.swing.table.TableModel model)
Constructs a new MapComposite object with the passed in data model |
|
ESRIMapComposite(javax.swing.table.TableModel 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 |
javax.swing.table.TableModel |
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 . |
TransformationInterface |
setComponent(java.lang.String componentKey,
TransformationInterface tbean)
Adds or sets a component to the list of components contained in the composite component. |
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 |
setModel(javax.swing.table.TableModel 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.graphics.html.GraphComposite |
---|
getDefaultAppliedFilters, getDefaultFooter, getDefaultMenuBar, getDefaultTitle |
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, 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_CONTAINER_STYLE
public static final java.lang.String MAPCOMPOSITE_MENUBAR_CONTAINER
public static final java.lang.String MAPCOMPOSITE_LEGEND
Constructor Detail |
---|
public ESRIMapComposite()
public ESRIMapComposite(javax.swing.table.TableModel model)
model
- The model used for this compositepublic ESRIMapComposite(javax.swing.table.TableModel dataModel, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
model
- The model used for this compositerequest
- The HttpServletRequest objectresponse
- the HttpServletResponse objectMethod Detail |
---|
public void setModel(javax.swing.table.TableModel dataModel)
setModel
in class GraphComposite
dataModel
- an instance of the OLAPDataSetInterfacepublic javax.swing.table.TableModel getModel()
getModel
in class GraphComposite
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 GraphComposite
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 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
value
- 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.public TransformationInterface setComponent(java.lang.String componentKey, TransformationInterface tbean)
setComponent
in interface CompositeComponentInterface
setComponent
in class BaseCompositeTransformation
componentKey
- unique component keys.tbean
- Transformation Bean.
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |