Java Platform 1.2

Uses of Class
javax.swing.text.html.StyleSheet

Packages that use StyleSheet
javax.swing.text.html Provides the class HTMLEditorKit and supporting classes for creating HTML text editors. 
 

Uses of StyleSheet in javax.swing.text.html
 

Methods in javax.swing.text.html that return StyleSheet
protected  StyleSheet ParagraphView.getStyleSheet()
           
protected  StyleSheet BlockView.getStyleSheet()
           
protected  StyleSheet InlineView.getStyleSheet()
           
 StyleSheet HTMLEditorKit.getStyleSheet()
          Get the set of styles currently being used to render the html elements.
 StyleSheet HTMLDocument.getStyleSheet()
          Fetch the StyleSheet with the document-specific display rules(CSS) that were specified in the html document itself.
 

Methods in javax.swing.text.html with parameters of type StyleSheet
 void HTMLEditorKit.setStyleSheet(StyleSheet s)
          Set the set of styles to be used to render the various html elements.
 

Constructors in javax.swing.text.html with parameters of type StyleSheet
HTMLDocument.HTMLDocument(StyleSheet styles)
          Constructs an html document with the default content storage implementation and the given style/attribute storage mechanism.
HTMLDocument.HTMLDocument(AbstractDocument.Content c, StyleSheet styles)
          Constructs an html document with the given content storage implementation and the given style/attribute storage mechanism.
 


Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.