jimm.datavision.gui.cmd
Class CutCommand

java.lang.Object
  extended by jimm.datavision.gui.cmd.CommandAdapter
      extended by jimm.datavision.gui.cmd.DeleteCommand
          extended by jimm.datavision.gui.cmd.CutCommand
All Implemented Interfaces:
Command, Nameable

public class CutCommand
extends DeleteCommand

Cuts (copies to the clipboard then deletes) a list of field widgets.

Author:
Jim Menard, jimm@io.com

Field Summary
 
Fields inherited from class jimm.datavision.gui.cmd.DeleteCommand
designer, fieldWidgets
 
Fields inherited from class jimm.datavision.gui.cmd.CommandAdapter
name
 
Constructor Summary
CutCommand(Designer designer, java.util.ArrayList selectedFields)
           
 
Method Summary
 void perform()
          Performs the command.
 void redo()
          Calls super.perform because we don't want to copy anything to the clipboard a second time.
 
Methods inherited from class jimm.datavision.gui.cmd.DeleteCommand
undo
 
Methods inherited from class jimm.datavision.gui.cmd.CommandAdapter
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CutCommand

public CutCommand(Designer designer,
                  java.util.ArrayList selectedFields)
Method Detail

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 DeleteCommand

redo

public void redo()
Calls super.perform because we don't want to copy anything to the clipboard a second time.

Specified by:
redo in interface Command
Overrides:
redo in class CommandAdapter