Method Summary |
|
public synchronized boolean | _compoundEditInProgress() Returns whether or not a compound edit is in progress. |
public synchronized boolean | addEdit(UndoableEdit e) Adds an edit. |
public synchronized boolean | canUndo() |
public synchronized void | documentSaved() Informs this undo manager that the document has been saved. |
public synchronized void | endCompoundEdit(int key) Ends a compound edit. |
public synchronized void | endLastCompoundEdit() Ends the last compound edit that was created. |
public synchronized CompoundEdit | getLastCompoundEdit() We are getting the last Compound Edit entered into the list. |
public UndoableEdit | getNextRedo() Gets the next redo. |
public UndoableEdit | getNextUndo() Gets the next undo. |
public synchronized String | getUndoPresentationName() |
public synchronized boolean | isModified() Determines if the document is in the same undo state as it was when it was last saved. |
public synchronized void | redo() Overrides redo so that any compound edit in progress is ended before the redo is performed. |
public synchronized int | startCompoundEdit() Starts a compound edit. |
public String | toString() |
public synchronized void | undo() Undoes the last undoable edit, or compound edit created by the user. |
public synchronized void | undo(int key) Overload for undo which allows the initiator of a CompoundEdit to abandon it. |