|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.commands.relational.ShowAllColumnsCommand
public class ShowAllColumnsCommand
This class implements the copy command.
Field Summary | |
---|---|
static java.lang.String |
RB_KEY
|
protected TableView |
table
|
Fields inherited from interface com.sas.commands.DynamicAttributeCommandInterface |
---|
COMMAND_NAME_PREFIX |
Constructor Summary | |
---|---|
ShowAllColumnsCommand()
Default constructor |
|
ShowAllColumnsCommand(java.lang.String name)
Constructor that accepts a command name |
|
ShowAllColumnsCommand(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 o)
This method implements the execute method on the CommandInterface, which is not implemented by the abstract BaseCommand class |
java.util.HashMap |
getEventInfo()
Returns a Map of event keys to event values. |
java.lang.Object |
getEventSource()
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. |
TableView |
getTable()
|
boolean |
isContentsChanged()
Return a boolean indicating whether the operation carried out during the command's last execution caused the command's target object to change. |
boolean |
isSupported(ActionSupportFilter actionFilter)
Returns a boolean indicating whether the command is supported for the area specified on the ActionSupportFilter argument. |
void |
setEventSource(java.lang.Object eventSource)
|
void |
setTable(TableView table)
|
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 |
Field Detail |
---|
public static final java.lang.String RB_KEY
protected TableView table
Constructor Detail |
---|
public ShowAllColumnsCommand()
public ShowAllColumnsCommand(java.lang.String name)
public ShowAllColumnsCommand(java.lang.String name, java.lang.String actionClass)
Method Detail |
---|
public void execute(java.lang.Object o)
execute
in interface com.sas.util.SimpleCommand
execute
in class BaseCommand
o
- The output stream to which the results of this command should be written.public boolean isContentsChanged()
ContentsChangedInterface
isContentsChanged
in interface ContentsChangedInterface
public java.util.HashMap getEventInfo()
ContentsChangedInterface
The keys and values on the map are dependent on the command and the type of target object that it operates on.
getEventInfo
in interface ContentsChangedInterface
public java.lang.Object getEventSource()
ContentsChangedInterface
getEventSource
in interface ContentsChangedInterface
public void setEventSource(java.lang.Object eventSource)
public boolean isSupported(ActionSupportFilter actionFilter)
isSupported
in interface CommandSupportedInterface
actionFilter
- The object that describes the current area.
BaseAction.setReturnStatus(int)
public void setTable(TableView table)
public TableView getTable()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |