jimm.datavision.gui.cmd
Class DeleteCommand
java.lang.Object
jimm.datavision.gui.cmd.CommandAdapter
jimm.datavision.gui.cmd.DeleteCommand
- All Implemented Interfaces:
- Command, Nameable
- Direct Known Subclasses:
- CutCommand
public class DeleteCommand
- extends CommandAdapter
Deletes a list of field widgets.
- Author:
- Jim Menard, jimm@io.com
|
Constructor Summary |
|
DeleteCommand(Designer designer,
java.util.ArrayList selectedFields)
Constructor. |
protected |
DeleteCommand(Designer designer,
java.util.ArrayList selectedFields,
java.lang.String name)
The delegated constructor. |
|
Method Summary |
void |
perform()
Performs the command. |
void |
undo()
Undoes the command. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
designer
protected Designer designer
fieldWidgets
protected java.util.Collection fieldWidgets
DeleteCommand
public DeleteCommand(Designer designer,
java.util.ArrayList selectedFields)
- Constructor.
DeleteCommand
protected DeleteCommand(Designer designer,
java.util.ArrayList selectedFields,
java.lang.String name)
- The delegated constructor.
perform
public void perform()
- Description copied from class:
CommandAdapter
- Performs the command. The default implementation does nothing.
- Specified by:
perform in interface Command- Overrides:
perform in class CommandAdapter
undo
public void undo()
- Description copied from class:
CommandAdapter
- Undoes the command. The default implementation does nothing.
- Specified by:
undo in interface Command- Overrides:
undo in class CommandAdapter