IUndoableCommand
public class AxisPanOrZoomCommand extends SaveStateCommand
Constructor | Description |
---|---|
AxisPanOrZoomCommand(java.lang.String name,
Axis axis) |
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 AxisPanOrZoomCommand(java.lang.String name, Axis axis)
public void redo()
IUndoableCommand
public void undo()
IUndoableCommand
public void saveState()
SaveStateCommand
saveState
in class SaveStateCommand