com.sas.actionprovider.commands
Class MapBaseCommand
com.sas.actionprovider.commands.MapBaseCommand
All Implemented Interfaces: ContentsChangedInterface , DynamicAttributeCommandInterface , BaseEntityInterface , BaseEntityValueInterface , EntityKeyInterface , com.sas.lang.StringDataInterface, com.sas.PublicClonable, com.sas.util.Command, com.sas.util.SimpleCommand, java.lang.Cloneable , java.rmi.Remote
Direct Known Subclasses: MapClearSelectionsCommand , MapFullExtentsCommand , MapPanCommand , MapRectangularSelectCommand , MapSelectCommand , MapZoomInCommand , MapZoomOutCommand
public class MapBaseCommand implements ContentsChangedInterface
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.util.Command
clone
contentsChanged
protected boolean contentsChanged
eventInfo
protected java.util.HashMap eventInfo
eventSource
protected java.lang.Object eventSource
MapBaseCommand
public MapBaseCommand (java.lang.String name)
execute
public void execute (java.lang.Object o)
Description copied from class: BaseCommand
Executes this command.
Specified by: execute
in interface com.sas.util.SimpleCommand
Specified by: execute
in class BaseCommand
Parameters: o
- The output stream to which the results of this command should be written.
isContentsChanged
public boolean isContentsChanged ()
Description copied from interface: ContentsChangedInterface
Return a boolean indicating whether the operation carried
out during the command's last execution caused the command's
target object to change.
Specified by: isContentsChanged
in interface ContentsChangedInterface
Returns: boolean indicating whether the command's target changed.
getEventInfo
public java.util.HashMap getEventInfo ()
Description copied from interface: ContentsChangedInterface
Returns a Map of event keys to event values.
The keys and values on the map are dependent on the command
and the type of target object that it operates on.
Specified by: getEventInfo
in interface ContentsChangedInterface
Returns: a Map of event keys to event values.
getEventSource
public java.lang.Object getEventSource ()
Description copied from interface: ContentsChangedInterface
Returns the target of this command which is the implicit source
of the Event that will be fired due to the changed state of the
target.
Specified by: getEventSource
in interface ContentsChangedInterface
Returns: the target Object of this command.
setEventSource
public void setEventSource (java.lang.Object eventSource)
Copyright © 2009 SAS Institute Inc. All Rights Reserved.