IUndoableCommand
public 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, wait
toString
public void redo()
IUndoableCommand
public void undo()
IUndoableCommand
public void saveState()
SaveStateCommand
saveState
in class SaveStateCommand