Class UndoMgr
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CompoundEdit
javax.swing.undo.UndoManager
org.apache.uima.tools.cvd.control.UndoMgr
- All Implemented Interfaces:
ActionListener,Serializable,EventListener,UndoableEditListener,UndoableEdit
Undo manager for text area.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.CompoundEdit
editsFields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent arg0) booleanaddEdit(UndoableEdit arg0) voidMethods inherited from class javax.swing.undo.UndoManager
canRedo, canUndo, canUndoOrRedo, editToBeRedone, editToBeUndone, end, getLimit, getRedoPresentationName, getUndoOrRedoPresentationName, getUndoPresentationName, redo, redoTo, setLimit, toString, trimEdits, trimForLimit, undo, undoableEditHappened, undoOrRedo, undoToMethods inherited from class javax.swing.undo.CompoundEdit
die, getPresentationName, isInProgress, isSignificant, lastEditMethods inherited from class javax.swing.undo.AbstractUndoableEdit
replaceEdit
-
Constructor Details
-
UndoMgr
Instantiates a new undo mgr.- Parameters:
frame- the frame
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
addEdit
- Specified by:
addEditin interfaceUndoableEdit- Overrides:
addEditin classUndoManager
-
discardAllEdits
public void discardAllEdits()- Overrides:
discardAllEditsin classUndoManager
-