dsto.dfc.swing.table
Class CmdAddRow
java.lang.Object
dsto.dfc.swing.commands.AbstractCommand
dsto.dfc.swing.commands.BasicAddEntryCommand
dsto.dfc.swing.table.CmdAddRow
- All Implemented Interfaces:
- Command, Iconic, Copyable, ActionListener, Cloneable, EventListener
public class CmdAddRow
- extends BasicAddEntryCommand
Add a new row to the end of the table.
- Version:
- $Revision$
Method Summary |
void |
execute()
Execute the command. |
String |
getDescription()
A short description of the command, suitable for a tooltip or use
in a status panel. |
char |
getMnemonic()
Get a character shortcut for the command (eg for use on a menu). |
String |
getName()
The formal identifying name for this command (eg edit.Copy, file.Open). |
table
protected DfcTable table
CmdAddRow
public CmdAddRow(DfcTable table)
execute
public void execute()
- Description copied from interface:
Command
- Execute the command.
- Specified by:
execute
in interface Command
- Overrides:
execute
in class BasicAddEntryCommand
getName
public String getName()
- Description copied from interface:
Command
- The formal identifying name for this command (eg edit.Copy, file.Open).
This must not change during the lifetime of a command
instance.
- Specified by:
getName
in interface Command
- Specified by:
getName
in interface Iconic
- Overrides:
getName
in class BasicAddEntryCommand
getDescription
public String getDescription()
- Description copied from interface:
Command
- A short description of the command, suitable for a tooltip or use
in a status panel.
- Specified by:
getDescription
in interface Command
- Overrides:
getDescription
in class BasicAddEntryCommand
getMnemonic
public char getMnemonic()
- Description copied from interface:
Command
- Get a character shortcut for the command (eg for use on a menu). May
return 0 for no mnemonic.
- Specified by:
getMnemonic
in interface Command
- Overrides:
getMnemonic
in class BasicAddEntryCommand
Copyright © 2008 Commonwealth of Australia