public class AxisPanOrZoomCommand extends SaveStateCommand
Constructor and Description |
---|
AxisPanOrZoomCommand(java.lang.String name,
Axis axis) |
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.
|
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