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 |
AbstractDocument.DefaultDocumentEvent.redo()
Redoes a change.
|
void |
AbstractDocument.ElementEdit.redo()
Redoes a change.
|
void |
DefaultStyledDocument.AttributeUndoableEdit.redo()
Redoes a change.
|
Modifier and Type | Method and Description |
---|---|
void |
UndoManager.redo()
Redoes the appropriate edits.
|
void |
AbstractUndoableEdit.redo()
Throws
CannotRedoException if canRedo
returns false. |
void |
CompoundEdit.redo()
Sends
redo to all contained
UndoableEdit s in the order in
which they were added. |
void |
UndoableEdit.redo()
Re-applies the edit.
|
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. |
void |
UndoManager.undoOrRedo()
Convenience method that invokes one of
undo or
redo . |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.