|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.commands.relational.BaseEditCommand
@SASScope(value="ALL") public abstract class BaseEditCommand
This class implements the basic functionality for an edit command.
| Field Summary |
|---|
| Fields inherited from interface com.sas.commands.DynamicAttributeCommandInterface |
|---|
COMMAND_NAME_PREFIX |
| Constructor Summary | |
|---|---|
BaseEditCommand()
Default constructor |
|
BaseEditCommand(java.lang.String name)
Constructor that accepts a command name |
|
BaseEditCommand(java.lang.String name,
java.lang.String actionClass)
Constructor that accepts a command name and an action class type |
|
| Method Summary | |
|---|---|
java.lang.String |
getChangedCells()
Sets the value of the changed cells. |
EditNavigationInterface |
getModel()
Gets the model of the viewer associated with this command. |
int |
getRow()
Gets the editable row number 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 |
setChangedCells(java.lang.String cells)
Sets the value of the changed cells. |
void |
setModel(EditNavigationInterface model)
Sets the model of the viewer associated with this command. |
void |
setRow(int row)
Sets the editable row number associated with this command. |
| Methods inherited from class com.sas.commands.BaseCommand |
|---|
execute, 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 BaseEditCommand()
public BaseEditCommand(java.lang.String name)
name - the name of this command
public BaseEditCommand(java.lang.String name,
java.lang.String actionClass)
name - the name of this commandactionClass - the name of the action class for this command| Method Detail |
|---|
public void setModel(EditNavigationInterface model)
model - the model of the viewer associated with this commandpublic EditNavigationInterface getModel()
public void setRow(int row)
row - the editable row number associated with this commandpublic int getRow()
public void setChangedCells(java.lang.String cells)
cells - the names of the changed editable cellsTableViewpublic java.lang.String getChangedCells()
TableViewpublic abstract boolean isSupported(ActionSupportFilter actionFilter)
isSupported in interface CommandSupportedInterfaceactionFilter - 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 | |||||||||||||