com.sas.commands.dataselectors
Class SortSelectorCommand

com.sas.commands.dataselectors.SortSelectorCommand
All Implemented Interfaces:
CommandSupportedInterface, CancelInterface, ContentsChangedInterface, DataSelectorCommandInterface, DynamicAttributeCommandInterface, PendingCommandInterface, BaseEntityInterface, BaseEntityValueInterface, EntityKeyInterface, com.sas.lang.StringDataInterface, com.sas.PublicClonable, com.sas.util.Command, com.sas.util.SimpleCommand, java.lang.Cloneable, java.rmi.Remote

public class SortSelectorCommand
implements CommandSupportedInterface

This class implements the simple calculated item selector 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
SortSelectorCommand()
          Default constructor
SortSelectorCommand(java.lang.String name)
          Constructor that accepts a command name
SortSelectorCommand(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)
           
protected  void commit(java.lang.Object o)
           
 boolean isSupported(ActionSupportFilter actionFilter)
          Returns a boolean indicating whether the command is supported for the area specified on the ActionSupportFilter argument.
protected  void show(java.lang.Object o)
           
 
Methods inherited from class com.sas.commands.dataselectors.BaseSelectorCommand
cancel, closeSelector, execute, getEventInfo, getEventSource, getMode, getModel, getSelector, getSelectorModel, isComplete, isContentsChanged, isModal, process, 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

SortSelectorCommand

public SortSelectorCommand()
Default constructor


SortSelectorCommand

public SortSelectorCommand(java.lang.String name)
Constructor that accepts a command name


SortSelectorCommand

public SortSelectorCommand(java.lang.String name,
                           java.lang.String actionClass)
Constructor that accepts a command name and an action class type

Method Detail

commit

protected void commit(java.lang.Object o)
               throws java.io.IOException
Overrides:
commit in class BaseSelectorCommand
Throws:
java.io.IOException

show

protected void show(java.lang.Object o)
Overrides:
show in class BaseSelectorCommand

cancel

public void cancel(java.lang.Object o)
Overrides:
cancel in class BaseSelectorCommand

isSupported

public boolean isSupported(ActionSupportFilter actionFilter)
Returns a boolean indicating whether the command is supported for the area specified on the ActionSupportFilter argument.

Specified by:
isSupported in interface CommandSupportedInterface
Parameters:
actionFilter - The object that describes the current area.
Returns:
a boolean indicating whether the command is supported.
See Also:
BaseAction.setReturnStatus(int)



Copyright © 2009 SAS Institute Inc. All Rights Reserved.