|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.commands.relational.BaseScrollCommand
public abstract class BaseScrollCommand
This class implements the basic functionality for a scroll command.
Field Summary |
---|
Fields inherited from interface com.sas.commands.DynamicAttributeCommandInterface |
---|
COMMAND_NAME_PREFIX |
Constructor Summary | |
---|---|
BaseScrollCommand()
Default constructor |
|
BaseScrollCommand(java.lang.String name)
Constructor that accepts a command name |
|
BaseScrollCommand(java.lang.String name,
java.lang.String actionClass)
Constructor that accepts a command name and an action class type |
Method Summary | |
---|---|
void |
execute(java.lang.Object out)
This method implements the execute method on the CommandInterface. |
BaseNavigationInterface |
getModel()
Gets the model of the viewer associated with this command. |
abstract boolean |
isSupported(ActionSupportFilter actionFilter)
Returns a boolean indicating whether the command is supported for the area specified on the ActionSupportFilter argument. |
void |
scrollExecute(java.lang.Object out)
This method should be overridden by subclasses to actually execute the scroll operation. |
void |
setModel(BaseNavigationInterface model)
Sets the model of the viewer associated with this command. |
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 BaseScrollCommand()
public BaseScrollCommand(java.lang.String name)
name
- the name of this commandpublic BaseScrollCommand(java.lang.String name, java.lang.String actionClass)
name
- the name of this commandactionClass
- the name of the action class for this commandMethod Detail |
---|
public void execute(java.lang.Object out)
execute
in interface com.sas.util.SimpleCommand
execute
in class BaseCommand
out
- The output stream to which the results of this command should be written.public void scrollExecute(java.lang.Object out)
out
- The output stream to which the results of this command should be written.public void setModel(BaseNavigationInterface model)
model
- the model of the viewer associated with this commandpublic BaseNavigationInterface getModel()
public abstract boolean isSupported(ActionSupportFilter actionFilter)
isSupported
in interface CommandSupportedInterface
actionFilter
- The object that describes the current area.
BaseAction.setReturnStatus(int)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |