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
FieldsModifier and TypeFieldDescriptionprivate final MainFrameThe main.private static final longThe Constant serialVersionUID.Fields inherited from class CompoundEdit
editsFields inherited from class AbstractUndoableEdit
RedoName, UndoName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent arg0) booleanaddEdit(UndoableEdit arg0) voidMethods inherited from class UndoManager
canRedo, canUndo, canUndoOrRedo, editToBeRedone, editToBeUndone, end, getLimit, getRedoPresentationName, getUndoOrRedoPresentationName, getUndoPresentationName, redo, redoTo, setLimit, toString, trimEdits, trimForLimit, undo, undoableEditHappened, undoOrRedo, undoToMethods inherited from class CompoundEdit
die, getPresentationName, isInProgress, isSignificant, lastEditMethods inherited from class AbstractUndoableEdit
replaceEdit
-
Field Details
-
main
The main. -
serialVersionUID
private static final long serialVersionUIDThe Constant serialVersionUID.- See Also:
-
-
Constructor Details
-
UndoMgr
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
addEdit
- Specified by:
addEditin interfaceUndoableEdit- Overrides:
addEditin classUndoManager
-
discardAllEdits
public void discardAllEdits()- Overrides:
discardAllEditsin classUndoManager
-