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 |
AbstractDocument.BranchElement
Implements a composite element that contains other elements.
|
class |
AbstractDocument.LeafElement
Implements an element that directly represents content of
some kind.
|
protected class |
DefaultStyledDocument.SectionElement
Default root element for a document...
|
Modifier and Type | Method and Description |
---|---|
protected AbstractDocument.AbstractElement |
PlainDocument.createDefaultRoot()
Creates the root element to be used to represent the
default document structure.
|
protected AbstractDocument.AbstractElement |
DefaultStyledDocument.createDefaultRoot()
Creates the root element to be used to represent the
default document structure.
|
Modifier and Type | Class and Description |
---|---|
class |
HTMLDocument.BlockElement
An element that represents a structural block of
HTML.
|
class |
HTMLDocument.RunElement
An element that represents a chunk of text that has
a set of HTML character level attributes assigned to
it.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractDocument.AbstractElement |
HTMLDocument.createDefaultRoot()
Creates the root element to be used to represent the
default document structure.
|
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, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.