Uses of Interface
javax.swing.text.StyledDocument
Package
Description
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides classes and interfaces that deal with editable and noneditable text
components.
Provides the class
HTMLEditorKit
and supporting classes for creating
HTML text editors.-
Uses of StyledDocument in javax.swing
Modifier and TypeMethodDescriptionJTextPane.getStyledDocument()
Fetches the model associated with the editor.Modifier and TypeMethodDescriptionvoid
JTextPane.setStyledDocument
(StyledDocument doc) Associates the editor with a text document.ModifierConstructorDescriptionJTextPane
(StyledDocument doc) Creates a newJTextPane
, with a specified document model. -
Uses of StyledDocument in javax.swing.text
Modifier and TypeClassDescriptionclass
A document that can be marked up with character and paragraph styles in a manner similar to the Rich Text Format.Modifier and TypeMethodDescriptionprotected final StyledDocument
StyledEditorKit.StyledTextAction.getStyledDocument
(JEditorPane e) Gets the document associated with an editor pane. -
Uses of StyledDocument in javax.swing.text.html
ModifierConstructorDescriptionMinimalHTMLWriter
(Writer w, StyledDocument doc) Creates a new MinimalHTMLWriter.MinimalHTMLWriter
(Writer w, StyledDocument doc, int pos, int len) Creates a new MinimalHTMLWriter.