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
public class UndoMgr extends UndoManager implements ActionListener
Undo manager for text area.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.undo.CompoundEdit
edits
-
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent arg0)
boolean
addEdit(UndoableEdit arg0)
void
discardAllEdits()
-
Methods 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, undoTo
-
Methods inherited from class javax.swing.undo.CompoundEdit
die, getPresentationName, isInProgress, isSignificant, lastEdit
-
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
replaceEdit
-
-
-
-
Constructor Detail
-
UndoMgr
public UndoMgr(MainFrame frame)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent arg0)
- Specified by:
actionPerformed
in interfaceActionListener
-
addEdit
public boolean addEdit(UndoableEdit arg0)
- Specified by:
addEdit
in interfaceUndoableEdit
- Overrides:
addEdit
in classUndoManager
-
discardAllEdits
public void discardAllEdits()
- Overrides:
discardAllEdits
in classUndoManager
-
-