|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Packages that use UndoableEdit |
|
Allows developers to provide support for undo/redo in applications such as
text editors.
|
Uses of UndoableEdit in javax.swing.undo |
Classes in javax.swing.undo that implement UndoableEdit |
|
class |
An abstract implementation of
UndoableEdit ,
implementing simple responses to all boolean methods in
that interface. |
class |
A concrete subclass of AbstractUndoableEdit, used to assemble little
UndoableEdits into great big ones.
|
class |
StateEdit is a general edit for objects that change state.
|
class |
UndoManager manages a list of UndoableEdits,
providing a way to undo or redo the appropriate edits.
|
Fields in javax.swing.undo with type arguments of type UndoableEdit |
|
protected Vector<UndoableEdit> |
CompoundEdit.edits
The collection of
UndoableEdit s
undone/redone en masse by this CompoundEdit . |
Methods in javax.swing.undo that return UndoableEdit |
|
protected UndoableEdit |
CompoundEdit.lastEdit()
Returns the last
UndoableEdit in
edits , or null
if edits is empty. |
protected UndoableEdit |
UndoManager.editToBeRedone()
Returns the next significant edit to be redone if
redo
is invoked. |
protected UndoableEdit |
UndoManager.editToBeUndone()
Returns the next significant edit to be undone if
undo
is invoked. |
Methods in javax.swing.undo with parameters of type UndoableEdit |
|
boolean |
AbstractUndoableEdit.addEdit(UndoableEdit anEdit)
This default implementation returns false.
|
boolean |
AbstractUndoableEdit.replaceEdit(UndoableEdit anEdit)
This default implementation returns false.
|
boolean |
CompoundEdit.addEdit(UndoableEdit anEdit)
If this edit is
inProgress ,
accepts anEdit and returns true. |
boolean |
UndoableEdit.addEdit(UndoableEdit anEdit)
Adds an
UndoableEdit to this UndoableEdit . |
boolean |
UndoableEdit.replaceEdit(UndoableEdit anEdit)
Returns true if this
UndoableEdit should replace
anEdit . |
protected void |
UndoableEditSupport._postEdit(UndoableEdit e)
Called only from
postEdit and endUpdate . |
void |
UndoableEditSupport.postEdit(UndoableEdit e)
DEADLOCK WARNING: Calling this method may call
undoableEditHappened in all listeners. |
boolean |
UndoManager.addEdit(UndoableEdit anEdit)
Adds an
UndoableEdit to this
UndoManager , if it's possible. |
protected void |
UndoManager.redoTo(UndoableEdit edit)
Redoes all changes from the index of the next edit to
edit , updating the index of the next edit appropriately. |
protected void |
UndoManager.undoTo(UndoableEdit edit)
Undoes all changes from the index of the next edit to
edit , updating the index of the next edit appropriately. |
|
FlexDoc/Javadoc 2.0 Demo Java Doc |