Search
CommandHistory Methods
 


 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