| 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.DefaultDocumentEventStores document changes as the document is being
 modified. | 
| static class  | AbstractDocument.ElementEditAn implementation of ElementChange that can be added to the document
 event. | 
| static class  | DefaultStyledDocument.AttributeUndoableEditAn UndoableEdit used to remember AttributeSet changes to an
 Element. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CompoundEditA concrete subclass of AbstractUndoableEdit, used to assemble little
 UndoableEdits into great big ones. | 
| class  | StateEditStateEdit is a general edit for objects that change state. | 
| class  | UndoManagerUndoManagermanages a list ofUndoableEdits,
 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.