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.DefaultDocumentEvent
Stores document changes as the document is being
modified.
|
static class |
AbstractDocument.ElementEdit
An implementation of ElementChange that can be added to the document
event.
|
static class |
DefaultStyledDocument.AttributeUndoableEdit
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. |
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, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.