站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v6.0, Java 2 SDK 英文文档

Uses of Class javax.swing.text.html.StyleSheet (Java Platform SE 6) - JDK 5 Documentation v6.0, Java 2 SDK 英文文档


Java™ Platform
Standard Ed. 6

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

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(AbstractDocument.Content c, StyleSheet styles)
          Constructs an HTML document with the given content storage implementation and the given style/attribute storage mechanism.
HTMLDocument(StyleSheet styles)
          Constructs an HTML document with the default content storage implementation and the specified style/attribute storage mechanism.
 


Java™ Platform
Standard Ed. 6

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

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.