DroidDiagram Programmer's Guide
CommandHistory Members
Constructors Methods
 


Represent the command undo/redo history.

The following tables list the members exposed by the CommandHistory type.

 Public Constructors

  Name Description

CommandHistory

Initializes a new CommandHistory instance.

 Public Methods

  Name Description

clear

Clears the undo/redo history.

getCapacity

Gets how much commands can be saved in the undo history.

getNextRedo

Gets the command that will be redone by the next call to UndoManager.redo.

getNextUndo

Gets the command that will be undone by the next call to UndoManager.undo.

mergeUndoRecords

Merges several undo records into a single composite record.

setCapacity

Sets the maximum number of commands that can be saved in the undo history.

 See Also

CommandHistory Class
com.mindfusion.diagramming Namespace