dsto.dfc.swing.table
Class MapTableView.CmdAddProperty

java.lang.Object
  extended by dsto.dfc.swing.commands.AbstractCommand
      extended by dsto.dfc.swing.commands.BasicAddEntryCommand
          extended by dsto.dfc.swing.table.MapTableView.CmdAddProperty
All Implemented Interfaces:
Command, Iconic, Copyable, ActionListener, Cloneable, EventListener
Enclosing class:
MapTableView

protected class MapTableView.CmdAddProperty
extends BasicAddEntryCommand

The "Add Property" command.


Field Summary
 
Fields inherited from class dsto.dfc.swing.commands.AbstractCommand
displayName, icon
 
Fields inherited from interface dsto.dfc.swing.icons.Iconic
NULL_ICON
 
Constructor Summary
protected MapTableView.CmdAddProperty()
           
 
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).
 boolean isInteractive()
          True if this command will interact with the user when execute() is called.
 
Methods inherited from class dsto.dfc.swing.commands.BasicAddEntryCommand
getAccelerator, getGroupInView, getIcon
 
Methods inherited from class dsto.dfc.swing.commands.AbstractCommand
actionPerformed, canReplace, clone, getDefaultDisplayName, getDisplayName, getLargeIcon, getLogString, isEnabled, setDisplayName, setIcon
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapTableView.CmdAddProperty

protected MapTableView.CmdAddProperty()
Method Detail

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

isInteractive

public boolean isInteractive()
Description copied from interface: Command
True if this command will interact with the user when execute() is called.

Specified by:
isInteractive in interface Command
Overrides:
isInteractive 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