| Package | Description |
|---|---|
| javax.swing.text | |
| javax.swing.text.html |
| 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.Content |
AbstractDocument.getContent()
Gets the content for the document.
|
| Constructor and Description |
|---|
AbstractDocument(AbstractDocument.Content data)
Constructs a new
AbstractDocument, wrapped around some
specified content storage mechanism. |
AbstractDocument(AbstractDocument.Content data,
AbstractDocument.AttributeContext context)
Constructs a new
AbstractDocument, wrapped around some
specified content storage mechanism. |
DefaultStyledDocument(AbstractDocument.Content c,
StyleContext styles)
Constructs a styled document.
|
PlainDocument(AbstractDocument.Content c)
Constructs a plain text document.
|
| Constructor and Description |
|---|
HTMLDocument(AbstractDocument.Content c,
StyleSheet styles)
Constructs an HTML document with the given content
storage implementation and the given style/attribute
storage mechanism.
|
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.