Java Platform 1.2
Beta 4

Class com.sun.java.swing.text.html.CSS

java.lang.Object
  |
  +--com.sun.java.swing.text.html.CSS

public class CSS
extends Object
Defines a set of CSS attributes as a typesafe enumeration. The html View implementations use css attributes to determine how they will render.

See Also:
StyleSheet

Inner Class Summary
static  CSS.Attribute
          Definitions to be used as a key on AttributeSet's that might hold css attributes.
 
Constructor Summary
CSS()
           
 
Method Summary
static CSS.Attribute getAttribute(String name)
          Translate a string to a CSS.Attribute object.
 
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

Constructor Detail

CSS

public CSS()
Method Detail

getAttribute

public static final CSS.Attribute getAttribute(String name)
Translate a string to a CSS.Attribute object. This will return null if there is no attribute by the given name.
Parameters:
name - the name of the css attribute to fetch the typesafe enumeration for.

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
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.
This documentation was generated with a post-Beta4 version of Javadoc.