Package | Description |
---|---|
javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
javax.swing.undo |
Allows developers to provide support for undo/redo
in applications such as text editors.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultStyledDocument.AttributeUndoableEdit.undo()
Undoes a change.
|
void |
AbstractDocument.DefaultDocumentEvent.undo()
Undoes a change.
|
void |
AbstractDocument.ElementEdit.undo()
Undoes a change.
|
Modifier and Type | Method and Description |
---|---|
void |
UndoManager.undo()
Undoes the appropriate edits.
|
void |
AbstractUndoableEdit.undo()
Throws
CannotUndoException if canUndo
returns false . |
void |
UndoableEdit.undo()
Undo the edit.
|
void |
CompoundEdit.undo()
Sends
undo to all contained
UndoableEdits in the reverse of
the order in which they were added. |
void |
UndoManager.undoOrRedo()
Convenience method that invokes one of
undo or
redo . |
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. |
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.