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

Method Index

 o addAndDo(Command)
Add command to command log and perform the command.
 o getRedoCommand()
Get next command to redo.
 o getUndoCommand()
Get next command to undo.
 o redo()
Redo command.
 o reset()
Reset the command processor.
 o undo()
Undo command.

Methods

 o addAndDo
 public abstract void addAndDo(Command cmd)
Add command to command log and perform the command.

 o undo
 public abstract void undo()
Undo command.

 o redo
 public abstract void redo()
Redo command.

 o getUndoCommand
 public abstract Command getUndoCommand()
Get next command to undo.

 o getRedoCommand
 public abstract Command getRedoCommand()
Get next command to redo.

 o reset
 public abstract void reset()
Reset the command processor.


All Packages  Class Hierarchy  This Package  Previous  Next  Index