Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

## 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
`StyleSheet[]` | `StyleSheet.getStyleSheets()` Returns an array of the linked StyleSheets.
`protected StyleSheet` | `ParagraphView.getStyleSheet()`
`protected StyleSheet` | `BlockView.getStyleSheet()`
`protected StyleSheet` | `InlineView.getStyleSheet()`
`StyleSheet` | `HTMLDocument.getStyleSheet()` Fetches the StyleSheet with the document-specific display rules (CSS) that were specified in the HTML document itself.
`StyleSheet` | `HTMLEditorKit.getStyleSheet()` Get the set of styles currently being used to render the HTML elements.

Methods in javax.swing.text.html with parameters of type StyleSheet
`void` | `StyleSheet.addStyleSheet(StyleSheet ss)` Adds the rules from the StyleSheet `ss` to those of the receiver.
`void` | `StyleSheet.removeStyleSheet(StyleSheet ss)` Removes the StyleSheet `ss` from those of the receiver.
`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(StyleSheet styles)` Constructs an HTML document with the default content storage implementation and the given style/attribute storage mechanism.
`HTMLDocument(AbstractDocument.Content c, StyleSheet styles)` Constructs an HTML document with the given content storage implementation and the given style/attribute storage mechanism.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

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.