JavaTM 2 Platform
Std. Ed. v1.3.1

Uses of Interface
javax.swing.text.StyledDocument

Packages that use StyledDocument
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
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 StyledDocument in javax.swing
 

Methods in javax.swing that return StyledDocument
 StyledDocument JTextPane.getStyledDocument()
          Fetches the model associated with the editor.
 

Methods in javax.swing with parameters of type StyledDocument
 void JTextPane.setStyledDocument(StyledDocument doc)
          Associates the editor with a text document.
 

Constructors in javax.swing with parameters of type StyledDocument
JTextPane(StyledDocument doc)
          Constructs a new JTextPane, with a specified document model.
 

Uses of StyledDocument in javax.swing.text
 

Classes in javax.swing.text that implement StyledDocument
 class DefaultStyledDocument
          A 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  StyledDocument StyledEditorKit.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 StyledDocument
 class HTMLDocument
          A document that models HTML.
 

Constructors in javax.swing.text.html with parameters of type StyledDocument
MinimalHTMLWriter(Writer w, StyledDocument doc)
          Creates a new MinimalHTMLWriter.
MinimalHTMLWriter(Writer w, StyledDocument doc, int pos, int len)
          Creates a new MinimalHTMLWriter.
 


JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.