| 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 | Class and Description |
|---|---|
class |
AbstractDocument
Stores document changes as the document is being modified.
|
static class |
AbstractDocument
An implementation of ElementChange that can be added to the document event.
|
static class |
DefaultStyledDocument
An UndoableEdit used to remember AttributeSet changes to an Element.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CompoundEdit
A concrete subclass of AbstractUndoableEdit, used to assemble little UndoableEdits into great big ones.
|
class |
StateEdit
StateEdit is a general edit for objects that change state.
|
class |
UndoManager
UndoManager manages a list of
UndoableEdits, providing a way to undo or redo the appropriate edits.
|