|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.actionprovider.commands.MapPropertyCommand
public class MapPropertyCommand
This class implements the map's show property sheet command.
Field Summary |
---|
Fields inherited from class com.sas.commands.dataselectors.BaseSelectorCommand |
---|
actionClass, CANCEL_MODE, COMMIT_MODE, complete, contentsChanged, eventInfo, eventSource, modal, mode, model, PROCESS_MODE, selector, selectorModel, SHOW_MODE |
Fields inherited from interface com.sas.commands.DynamicAttributeCommandInterface |
---|
COMMAND_NAME_PREFIX |
Constructor Summary | |
---|---|
MapPropertyCommand(java.lang.String name)
Constructor that accepts a command name |
|
MapPropertyCommand(java.lang.String name,
java.lang.String actionClass)
Constructor that accepts a command name and an action class type |
Method Summary | |
---|---|
void |
cancel(java.lang.Object o)
Cancel is called when the user clicks on the cancel button on the selector or another selector becomes active. |
protected void |
commit(java.lang.Object o)
Commits all changes made to the selector model to the viewer's business model. |
int |
getColorRegions()
|
java.lang.String[] |
getCrossing()
|
java.lang.Object |
getGeo()
|
int |
getHeight()
|
java.lang.String[] |
getLayers()
|
protected java.util.List |
getLayersList()
|
protected java.util.HashMap |
getLayersMap(java.util.List layersList,
java.util.Map layers)
|
java.lang.Object |
getMapViewer()
|
java.lang.String |
getMeasure()
|
int |
getNumberOfColors()
|
java.lang.String[] |
getSelectedCrossing()
|
java.lang.String |
getSelectedRegionColor()
|
java.lang.String |
getSize()
|
int |
getWidth()
|
boolean |
isShowCrossing()
|
boolean |
isSupported(ActionSupportFilter actionFilter)
Returns a boolean indicating whether the command is supported for the area specified on the ActionSupportFilter argument. |
protected void |
process(java.lang.Object o)
e Constructor that accepts a command name and an action class type |
void |
setColorRegions(int colorRegions)
|
void |
setCrossing(java.lang.String[] crossing)
|
void |
setGeo(java.lang.Object geo)
|
void |
setHeight(int height)
|
void |
setLayers(java.lang.String[] layers)
|
void |
setMapViewer(java.lang.Object mapViewer)
|
void |
setMeasure(java.lang.String measure)
|
void |
setNumberOfColors(int numberOfColors)
|
void |
setSelectedCrossing(java.lang.String[] selectedCrossing)
|
void |
setSelectedRegionColor(java.lang.String selectedRegionColor)
|
void |
setShowCrossing(boolean showCrossing)
|
void |
setSize(java.lang.String size)
|
void |
setWidth(int width)
|
protected void |
show(java.lang.Object o)
Creates the selector model and sets it on the selector. |
Methods inherited from class com.sas.commands.dataselectors.BaseSelectorCommand |
---|
cancel, closeSelector, execute, getEventInfo, getEventSource, getMode, getModel, getSelector, getSelectorModel, isComplete, isContentsChanged, isModal, setComplete, setModal, setMode, setModel, setSelector, setSelectorModel |
Methods inherited from class com.sas.commands.BaseCommand |
---|
getLocale, getName, getNextCommandName, getText, isExecutable, isUndoable, setLocale, setName, setText, undo |
Methods inherited from class com.sas.entities.BaseEntity |
---|
clone, containsAttributeNamed, equals, equals, getAttribute, getAttribute, getAttributeCount, getAttributes, getEntityKey, getPropertyDescriptors, getStringAttribute, listAttributeNames, removeAllAttributes, removeAttribute, reset, sameEntity, setAttribute, setAttributes, setEntityKey, toString |
Methods inherited from interface com.sas.entities.BaseEntityValueInterface |
---|
getAttribute, setAttribute |
Methods inherited from interface com.sas.util.Command |
---|
clone |
Constructor Detail |
---|
public MapPropertyCommand(java.lang.String name)
name
- command namepublic MapPropertyCommand(java.lang.String name, java.lang.String actionClass)
Method Detail |
---|
protected void show(java.lang.Object o)
show
in class BaseSelectorCommand
protected void process(java.lang.Object o)
process
in class BaseSelectorCommand
command
- nameswing
- true if a swing viewer is used, false otherwisepublic void cancel(java.lang.Object o)
cancel
in class BaseSelectorCommand
protected void commit(java.lang.Object o) throws java.io.IOException
commit
in class BaseSelectorCommand
java.io.IOException
BusinessQuery
,
BusinessModel
protected java.util.HashMap getLayersMap(java.util.List layersList, java.util.Map layers)
public boolean isSupported(ActionSupportFilter actionFilter)
actionFilter
- - the object that describes the current area.
public java.lang.Object getMapViewer()
public void setMapViewer(java.lang.Object mapViewer)
mapViewer
- The mapViewer to set.public java.lang.Object getGeo()
public void setGeo(java.lang.Object geo)
geo
- The geo to set.public java.lang.String[] getCrossing()
public void setCrossing(java.lang.String[] crossing)
crossing
- The crossing to set.public int getNumberOfColors()
public void setNumberOfColors(int numberOfColors)
numberOfColors
- The numberOfColors to set.public int getColorRegions()
public void setColorRegions(int colorRegions)
colorRegions
- The colorRegions to set.public int getHeight()
public void setHeight(int height)
height
- The height to set.public java.lang.String getSize()
public void setSize(java.lang.String size)
size
- The size to set.public int getWidth()
public void setWidth(int width)
width
- The width to set.public java.lang.String getSelectedRegionColor()
public void setSelectedRegionColor(java.lang.String selectedRegionColor)
selectedRegionColor
- The selectedRegionColor to set.public java.lang.String[] getLayers()
protected java.util.List getLayersList()
public void setLayers(java.lang.String[] layers)
layers
- The layers to set.public java.lang.String[] getSelectedCrossing()
public void setSelectedCrossing(java.lang.String[] selectedCrossing)
selectedCrossing
- The selectedCrossing to set.public java.lang.String getMeasure()
public void setMeasure(java.lang.String measure)
measure
- The measure to set.public boolean isShowCrossing()
public void setShowCrossing(boolean showCrossing)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |