public class ZoomCommand extends SaveStateCommand
| Constructor and Description |
|---|
ZoomCommand(java.lang.String name,
java.util.List<Axis> xAxisList,
java.util.List<Axis> yAxisList)
Initialize
|
| Modifier and Type | Method and Description |
|---|---|
void |
redo()
Restore the state of the target to the state after this command has been
executed.
|
void |
saveState()
Derived class should implement this to save the 'final' state.
|
void |
undo()
Restore the state of the target to the state before this command has been
executed.
|
toStringpublic void redo()
IUndoableCommandpublic void undo()
IUndoableCommandpublic void saveState()
SaveStateCommandsaveState in class SaveStateCommand