DroidDiagram Programmer's Guide
UndoManager Members
Methods
 


Implements undo/redo functionality. The undo manager can be accessed by calling the getUndoManager method of the Diagram class.

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

 Public Methods

  Name Description

getHistory

Gets a reference to the list of commands stored for later undo/redo.

getUndoEnabled

Gets a value indicating whether actions performed on the diagram can be undone or redone.

redo

Redoes the next action in the undo/redo queue.

setUndoEnabled

Enables or disabled undo/redo.

startComposite

Overloaded.  

undo

Undoes the previous action in the undo/redo queue.

 See Also

UndoManager Class
com.mindfusion.diagramming Namespace