All Packages Class Hierarchy This Package Previous Next Index
Interface COM.ibm.desktop.ICommandProcessor
- public interface interface ICommandProcessor
ICommandProcessor defines an interface for command logging and undo/redo.
Copyright (c) Taligent, Inc. 1996 - 1997.
Copyright (c) IBM Corporation 1996 - 1997.
All Rights Reserved.
- See Also:
- CommandProcessor
-
addAndDo(Command)
- Add command to command log and perform the command.
-
getRedoCommand()
- Get next command to redo.
-
getUndoCommand()
- Get next command to undo.
-
redo()
- Redo command.
-
reset()
- Reset the command processor.
-
undo()
- Undo command.
addAndDo
public abstract void addAndDo(Command cmd)
- Add command to command log and perform the command.
undo
public abstract void undo()
- Undo command.
redo
public abstract void redo()
- Redo command.
getUndoCommand
public abstract Command getUndoCommand()
- Get next command to undo.
getRedoCommand
public abstract Command getRedoCommand()
- Get next command to redo.
reset
public abstract void reset()
- Reset the command processor.
All Packages Class Hierarchy This Package Previous Next Index