Uses of Interface
javax.swing.text.StyledDocument
Packages that use StyledDocument
包
描述
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
Methods in javax.swing that return StyledDocumentMethods in javax.swing with parameters of type StyledDocument修饰符和类方法描述voidJTextPane.setStyledDocument(StyledDocument doc) Associates the editor with a text document.Constructors in javax.swing with parameters of type StyledDocumentModifierConstructor描述JTextPane(StyledDocument doc) Creates a newJTextPane, with a specified document model. -
Uses of StyledDocument in javax.swing.text
Classes in javax.swing.text that implement StyledDocument修饰符和类Class描述classA document that can be marked up with character and paragraph styles in a manner similar to the Rich Text Format.Methods in javax.swing.text that return StyledDocument修饰符和类方法描述protected final StyledDocumentStyledEditorKit.StyledTextAction.getStyledDocument(JEditorPane e) Gets the document associated with an editor pane. -
Uses of StyledDocument in javax.swing.text.html
Classes in javax.swing.text.html that implement StyledDocumentConstructors in javax.swing.text.html with parameters of type StyledDocumentModifierConstructor描述MinimalHTMLWriter(Writer w, StyledDocument doc) Creates a new MinimalHTMLWriter.MinimalHTMLWriter(Writer w, StyledDocument doc, int pos, int len) Creates a new MinimalHTMLWriter.