# Uses of Class
javax.swing.text.AbstractDocument.AbstractElement

Packages that use AbstractDocument.AbstractElement
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.

## Uses of AbstractDocument.AbstractElement in javax.swing.text

Subclasses of AbstractDocument.AbstractElement in javax.swing.text
Modifier and Type
Class
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... maps out the paragraphs/lines contained.
Methods in javax.swing.text that return AbstractDocument.AbstractElement
Modifier and Type
Method
Description
`protected AbstractDocument.AbstractElement`
DefaultStyledDocument.`createDefaultRoot()`
Creates the root element to be used to represent the default document structure.
`protected AbstractDocument.AbstractElement`
PlainDocument.`createDefaultRoot()`
Creates the root element to be used to represent the default document structure.

## Uses of AbstractDocument.AbstractElement in javax.swing.text.html

Subclasses of AbstractDocument.AbstractElement in javax.swing.text.html
Modifier and Type
Class
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.
Methods in javax.swing.text.html that return AbstractDocument.AbstractElement
Modifier and Type
Method
Description
`protected AbstractDocument.AbstractElement`
HTMLDocument.`createDefaultRoot()`
Creates the root element to be used to represent the default document structure.