jimm.datavision.gui.cmd
Class SummaryCommand
java.lang.Object
jimm.datavision.gui.cmd.CommandAdapter
jimm.datavision.gui.cmd.SummaryCommand
- All Implemented Interfaces:
- Command, Nameable
public class SummaryCommand
- extends CommandAdapter
A command for changing a field's summary.
- Author:
- Jim Menard, jimm@io.com
|
Constructor Summary |
SummaryCommand(Report report,
java.lang.String newName,
java.lang.String newTitle,
java.lang.String newAuthor,
java.lang.String newDescription)
|
|
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 |
report
protected Report report
origName
protected java.lang.String origName
origTitle
protected java.lang.String origTitle
origAuthor
protected java.lang.String origAuthor
origDescription
protected java.lang.String origDescription
newName
protected java.lang.String newName
newTitle
protected java.lang.String newTitle
newAuthor
protected java.lang.String newAuthor
newDescription
protected java.lang.String newDescription
SummaryCommand
public SummaryCommand(Report report,
java.lang.String newName,
java.lang.String newTitle,
java.lang.String newAuthor,
java.lang.String newDescription)
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