undo
Class Undo
java.lang.Object
undo.Undo
- Direct Known Subclasses:
- CyUndo
public class Undo
- extends Object
Rudimentary support for undo. To post an edit to the manager, call
Undo.getUndoableEditSupport().postEdit(yourEdit). To handle the edits,
you should extend this class and write actions, etc. that use the
UndoManager.
Constructor Summary |
Undo()
|
Undo
public Undo()
getUndoableEditSupport
public static UndoableEditSupport getUndoableEditSupport()
- Use this method to get the UndoableEditSupport which you should use
to post edits: Undo.getUndoableEditSupport().postEdit(yourEdit).
- Returns:
- the UndoableEditSupport used for posting edits.