jimm.datavision.gui.cmd
Class DeleteSectionCommand

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

public class DeleteSectionCommand
extends CommandAdapter


Field Summary
protected  Designer designer
           
protected  Report report
           
protected  Section section
           
protected  ReportSectionLoc sectionLoc
           
protected  SectionWidget sectionWidget
           
protected  SectionWidget sectionWidgetAbove
           
 
Fields inherited from class jimm.datavision.gui.cmd.CommandAdapter
name
 
Constructor Summary
DeleteSectionCommand(Designer designer, Report report, Section section)
          Constructor.
 
Method Summary
 void perform()
          Performs the command.
 void undo()
          Undoes the command.
 
Methods inherited from class jimm.datavision.gui.cmd.CommandAdapter
getName, redo, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

designer

protected Designer designer

report

protected Report report

section

protected Section section

sectionLoc

protected ReportSectionLoc sectionLoc

sectionWidget

protected SectionWidget sectionWidget

sectionWidgetAbove

protected SectionWidget sectionWidgetAbove
Constructor Detail

DeleteSectionCommand

public DeleteSectionCommand(Designer designer,
                            Report report,
                            Section section)
Constructor.

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 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