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

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class javax.swing.text.html.StyleSheet - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

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.
 


JavaTM 2 Platform
Standard Edition

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