jimm.datavision.gui.cmd
Class FPCutCommand

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

public class FPCutCommand
extends FPDeleteCommand

Cuts (copies to the clipboard then deletes) something from a field picker tree.

Author:
Jim Menard, jimm@io.com

Field Summary
 
Fields inherited from class jimm.datavision.gui.cmd.FPDeleteCommand
designer, info, leafNode, parentNode, report, tree
 
Fields inherited from class jimm.datavision.gui.cmd.CommandAdapter
name
 
Constructor Summary
FPCutCommand(Report report, Designer designer, FieldPickerTree tree, javax.swing.tree.DefaultMutableTreeNode node)
           
 
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.FPDeleteCommand
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

FPCutCommand

public FPCutCommand(Report report,
                    Designer designer,
                    FieldPickerTree tree,
                    javax.swing.tree.DefaultMutableTreeNode node)
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 FPDeleteCommand

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