IUndoableCommandpublic class ZoomCommand extends SaveStateCommand
null for x axis)| Constructor | Description |
|---|---|
ZoomCommand(java.lang.String name,
java.util.List<Axis> xAxisList,
java.util.List<Axis> yAxisList) |
Initialize
|
| Modifier and Type | Method | 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.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, waittoStringpublic void redo()
IUndoableCommandpublic void undo()
IUndoableCommandpublic void saveState()
SaveStateCommandsaveState in class SaveStateCommand