com.sas.servlet.tbeans.dataselectors.crossing.html
Class MapCrossingSelectorPanel

com.sas.servlet.tbeans.dataselectors.crossing.html.MapCrossingSelectorPanel
All Implemented Interfaces:
HttpActionProviderInterface, com.sas.beans.PropertyChangeSource, com.sas.collection.ContentsChangedListener, CancelInterface, com.sas.lang.ObjectDataInterface, com.sas.servlet.tbeans.AJAXControllerURLInterface, ComplexStyleInterface, CompositeComponentInterface, MapCrossingSelectorKeysInterface, MapCrossingSelectorStyleKeysInterface, FormViewInterface, RenderableInterface, TemplateInterface, com.sas.servlet.tbeans.TemplateKeyInterface, TransformationInterface, com.sas.util.WriteToPrintWriterInterface, java.io.Serializable, java.util.EventListener

public class MapCrossingSelectorPanel
implements CancelInterface, MapCrossingSelectorKeysInterface, MapCrossingSelectorStyleKeysInterface

See Also:
Serialized Form

Nested Class Summary
static class MapCrossingSelectorPanel.ESRITreeNodeTransform
           
 
Field Summary
static java.lang.String DEFAULT_TEMPLATE_FILE_NAME
          The default file name for the template for this panel.
protected  ChoiceBox measureChoiceBox
          The choicebox used for the measure
protected  Label measureLabel
          The label for the measure.
 
Fields inherited from class com.sas.servlet.tbeans.dataselectors.BaseSelectorPanel
imageLocation, SELECTOR_EXPAND, SELECTOR_EXTERNAL
 
Fields inherited from interface com.sas.servlet.tbeans.dataselectors.crossing.html.MapCrossingSelectorKeysInterface
MAPPROPERTIESDATA_MEASURE_CHOICEBOX, MAPPROPERTIESDATA_MEASURE_LABEL, MAPPROPERTIESDATA_TREE_LIST
 
Fields inherited from interface com.sas.servlet.tbeans.dataselectors.crossing.html.MapCrossingSelectorStyleKeysInterface
MAPCROSSINGSELECTOR_CHOICEBOX, MAPCROSSINGSELECTOR_LABEL, MAPCROSSINGSELECTOR_LIST
 
Constructor Summary
MapCrossingSelectorPanel()
          Default constructor.
MapCrossingSelectorPanel(java.lang.String name)
          Constructor using the given name.
 
Method Summary
protected  void addComponents()
          Creates the components and add them to the selector template.
 void cancel()
          Cancels the command.
protected  void createMeasureChoiceBox()
           
protected  void createMeasureLabel()
          Creates the label for the measure.
protected  void createTreeList()
           
 java.lang.String getDefaultTemplate()
          Returns the default template to be used for this composite.
 java.lang.String getGeoString()
           
 java.lang.Object getSelectorModel()
          Returns the selector's data model
 void setActionProvider(HttpActionProvider ap)
          Sets the HttpActionProvider object
 void setCrossing(java.lang.String[] crossing)
           
 void setGeoString(java.lang.String geoString)
           
protected  void setLocaleDependentProperties(java.util.Locale locale)
          Sets the locale dependent properties.
protected  void setMeasureChoiceBoxProperties()
          Sets write-time properties for the measure choicebox, including the combobox model for the choicebox, the OnChange property, and the selectedIndex.
 void setSelectorModel(java.lang.Object selectorModel)
          Sets the selector's data model
protected  void setTreeListProperties(java.util.Locale locale)
           
 void write(java.io.PrintWriter out)
          Writes the custom attributes of the object.
 
Methods inherited from class com.sas.servlet.tbeans.dataselectors.html.SelectorPanel
close, getAdditionalParameters, getDefaultFormObject, getFormObject, getIframeName, isFormEnabled, setAdditionalParameter, setAdditionalParameters, setFormEnabled, setFormObject, setIframeName, writeRemoteScriptCommands, writeRemoteScriptFrame, writeSelectorPanelFooter, writeSelectorPanelHeader
 
Methods inherited from class com.sas.servlet.tbeans.dataselectors.BaseSelectorPanel
contentsChanged, getActionProvider, getCommandId, getImageLocation, getSelector, setCommandId, setImageLocation, setSelector
 
Methods inherited from class com.sas.servlet.tbeans.BaseCompositeTransformation
applyTemplate, applyTemplate, getComponent, getComponents, getStyleInfo, getStyleMap, getTemplate, getTemplateDictionary, getTemplateFileName, getTemplateLocation, getVisibleComponents, isFlushEnabled, propertyChange, removeComponent, setCleanUpResourcesOn, setComponent, setFlushEnabled, setId, setLocale, setRequest, setResponse, setStyleInfo, setTemplate, setTemplate, setTemplateDictionary, setTemplateFileName, setTemplateLocation, writeTemplate
 
Methods inherited from class com.sas.servlet.tbeans.BaseTransformation
addPropertyChangeListener, addPropertyChangeListener, cleanUpResources, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCustomAttributes, getDescription, getId, getInputTransform, getLocale, getName, getObjectData, getObjectDataProperty, getOutputTransform, getRequest, getResponse, getTagEpilog, getTagProlog, hasListeners, isCleanUpResourcesOn, isVisible, removePropertyChangeListener, removePropertyChangeListener, setCustomAttributes, setInputTransform, setName, setObjectData, setObjectDataProperty, setOutputTransform, setTagEpilog, setTagProlog, setVisible, toString, write, write, write
 
Methods inherited from interface com.sas.actionprovider.HttpActionProviderInterface
getRequest
 

Field Detail

DEFAULT_TEMPLATE_FILE_NAME

public static final java.lang.String DEFAULT_TEMPLATE_FILE_NAME
The default file name for the template for this panel. "MapCrossingSelectorPanel.html"

See Also:
Constant Field Values

measureLabel

protected Label measureLabel
The label for the measure.


measureChoiceBox

protected ChoiceBox measureChoiceBox
The choicebox used for the measure

Constructor Detail

MapCrossingSelectorPanel

public MapCrossingSelectorPanel()
Default constructor.


MapCrossingSelectorPanel

public MapCrossingSelectorPanel(java.lang.String name)
Constructor using the given name.

Parameters:
name - String to set the name
Method Detail

setLocaleDependentProperties

protected void setLocaleDependentProperties(java.util.Locale locale)
Description copied from class: BaseTransformation
Sets the locale dependent properties. Not operational at this level.

Overrides:
setLocaleDependentProperties in class BaseTransformation

write

public void write(java.io.PrintWriter out)
Description copied from class: BaseCompositeTransformation
Writes the custom attributes of the object. All transformation beans should override this method and call SUPER.

Specified by:
write in interface TransformationInterface
Specified by:
write in interface com.sas.util.WriteToPrintWriterInterface
Overrides:
write in class BaseCompositeTransformation
Parameters:
out - The output stream

setMeasureChoiceBoxProperties

protected void setMeasureChoiceBoxProperties()
                                      throws java.io.IOException
Sets write-time properties for the measure choicebox, including the combobox model for the choicebox, the OnChange property, and the selectedIndex.

Throws:
java.io.IOException - thrown if some type of I/O error occurs

setTreeListProperties

protected void setTreeListProperties(java.util.Locale locale)
                              throws java.io.IOException
Throws:
java.io.IOException

addComponents

protected void addComponents()
Creates the components and add them to the selector template.


createMeasureLabel

protected void createMeasureLabel()
Creates the label for the measure.


createMeasureChoiceBox

protected void createMeasureChoiceBox()

createTreeList

protected void createTreeList()

cancel

public void cancel()
Description copied from interface: CancelInterface
Cancels the command.

Common things done in this method:

Specified by:
cancel in interface CancelInterface

setActionProvider

public void setActionProvider(HttpActionProvider ap)
Description copied from class: BaseSelectorPanel
Sets the HttpActionProvider object

Specified by:
setActionProvider in interface HttpActionProviderInterface
Overrides:
setActionProvider in class BaseSelectorPanel
Parameters:
ap - HttpActionProvider Object
See Also:
HttpActionProviderInterface.getActionProvider()

setCrossing

public void setCrossing(java.lang.String[] crossing)

setSelectorModel

public void setSelectorModel(java.lang.Object selectorModel)
Description copied from class: BaseSelectorPanel
Sets the selector's data model

Overrides:
setSelectorModel in class BaseSelectorPanel
Parameters:
selectorModel - The selector's data model

getSelectorModel

public java.lang.Object getSelectorModel()
Description copied from class: BaseSelectorPanel
Returns the selector's data model

Overrides:
getSelectorModel in class BaseSelectorPanel
Returns:
The selector's data model

getDefaultTemplate

public java.lang.String getDefaultTemplate()
Returns the default template to be used for this composite. If no customized template has been applied and the template file cannot be found or read, this template is used to provide at least a minimum amount of functionality and may or may not have styling or formatting applied to it.

Specified by:
getDefaultTemplate in interface TemplateInterface
Overrides:
getDefaultTemplate in class BaseCompositeTransformation
Returns:
String the default template

getGeoString

public java.lang.String getGeoString()
Returns:
Returns the geoString.

setGeoString

public void setGeoString(java.lang.String geoString)
Parameters:
geoString - The geoString to set.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.