| Package | Description |
|---|---|
| javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text components.
|
| javax.swing.text.html |
Provides the class
HTMLEditorKit and supporting classes for creating HTML text editors.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GapContent
An implementation of the AbstractDocument.Content interface implemented using a gapped buffer similar to that used by emacs.
|
class |
StringContent
An implementation of the AbstractDocument.Content interface that is a brute force implementation that is useful for relatively small documents and/or debugging.
|
| Modifier and Type | Method and Description |
|---|---|
protected AbstractDocument |
AbstractDocument.getContent()
Gets the content for the document.
|
| Constructor and Description | |
|---|---|
AbstractDocument(AbstractDocument
Constructs a new
AbstractDocument, wrapped around some specified content storage mechanism.
|
|
AbstractDocument(AbstractDocument
Constructs a new
AbstractDocument, wrapped around some specified content storage mechanism.
|
|
DefaultStyledDocument(AbstractDocument
Constructs a styled document.
|
|
PlainDocument(AbstractDocument
Constructs a plain text document.
|
| Constructor and Description | |
|---|---|
HTMLDocument(AbstractDocument
Constructs an HTML document with the given content storage implementation and the given style/attribute storage mechanism.
|