|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.undo.AbstractUndoableEdit javax.swing.undo.CompoundEdit javax.swing.undo.UndoManager org.rosuda.JGR.toolkit.InsertRemoveUndoManager
public class InsertRemoveUndoManager
InsertRemoveUndoManager - undo only insertion and remove events.
Field Summary | |
---|---|
IconButton |
redoButton
Redo button from toobar |
IconButton |
undoButton
Undo button from toobar |
Fields inherited from class javax.swing.undo.CompoundEdit |
---|
edits |
Fields inherited from class javax.swing.undo.AbstractUndoableEdit |
---|
RedoName, UndoName |
Constructor Summary | |
---|---|
InsertRemoveUndoManager(java.awt.event.ActionListener al)
|
Method Summary | |
---|---|
void |
redo()
Redo an insertion or remove event. |
void |
undo()
Undo an insertion or remove event. |
void |
undoableEditHappened(javax.swing.event.UndoableEditEvent e)
|
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 |
Methods inherited from class javax.swing.undo.CompoundEdit |
---|
die, getPresentationName, isInProgress, isSignificant, lastEdit |
Methods inherited from class javax.swing.undo.AbstractUndoableEdit |
---|
replaceEdit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public IconButton undoButton
public IconButton redoButton
Constructor Detail |
---|
public InsertRemoveUndoManager(java.awt.event.ActionListener al)
Method Detail |
---|
public void undoableEditHappened(javax.swing.event.UndoableEditEvent e)
undoableEditHappened
in interface javax.swing.event.UndoableEditListener
undoableEditHappened
in class javax.swing.undo.UndoManager
public void undo()
undo
in interface javax.swing.undo.UndoableEdit
undo
in class javax.swing.undo.UndoManager
public void redo()
redo
in interface javax.swing.undo.UndoableEdit
redo
in class javax.swing.undo.UndoManager
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |