public class UndoMgr extends UndoManager implements ActionListener
editsRedoName, UndoName| Constructor and Description |
|---|
UndoMgr(MainFrame frame)
Instantiates a new undo mgr.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent arg0) |
boolean |
addEdit(UndoableEdit arg0) |
void |
discardAllEdits() |
canRedo, canUndo, canUndoOrRedo, editToBeRedone, editToBeUndone, end, getLimit, getRedoPresentationName, getUndoOrRedoPresentationName, getUndoPresentationName, redo, redoTo, setLimit, toString, trimEdits, trimForLimit, undo, undoableEditHappened, undoOrRedo, undoTodie, getPresentationName, isInProgress, isSignificant, lastEditreplaceEditpublic UndoMgr(MainFrame frame)
frame - the framepublic void actionPerformed(ActionEvent arg0)
actionPerformed in interface ActionListenerpublic boolean addEdit(UndoableEdit arg0)
addEdit in interface UndoableEditaddEdit in class UndoManagerpublic void discardAllEdits()
discardAllEdits in class UndoManagerCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.