org.rosuda.JGR.toolkit
Class InsertRemoveUndoManager
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CompoundEdit
javax.swing.undo.UndoManager
org.rosuda.JGR.toolkit.InsertRemoveUndoManager
- All Implemented Interfaces:
- Serializable, EventListener, UndoableEditListener, UndoableEdit
public class InsertRemoveUndoManager
- extends UndoManager
InsertRemoveUndoManager - undo only insertion and remove events.
- Author:
- Markus Helbig
RoSuDa 2003 - 2004
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.undo.UndoManager |
addEdit, canRedo, canUndo, canUndoOrRedo, discardAllEdits, editToBeRedone, editToBeUndone, end, getLimit, getRedoPresentationName, getUndoOrRedoPresentationName, getUndoPresentationName, redoTo, setLimit, toString, trimEdits, trimForLimit, undoOrRedo, undoTo |
undoButton
public IconButton undoButton
- Undo button from toobar
redoButton
public IconButton redoButton
- Redo button from toobar
InsertRemoveUndoManager
public InsertRemoveUndoManager(ActionListener al)
undoableEditHappened
public void undoableEditHappened(UndoableEditEvent e)
- Specified by:
undoableEditHappened in interface UndoableEditListener- Overrides:
undoableEditHappened in class UndoManager
undo
public void undo()
- Undo an insertion or remove event.
- Specified by:
undo in interface UndoableEdit- Overrides:
undo in class UndoManager
redo
public void redo()
- Redo an insertion or remove event.
- Specified by:
redo in interface UndoableEdit- Overrides:
redo in class UndoManager