com.sun.rave.designtime.markup
Class StyleClassDescriptor


java.lang.Object

  extended byjava.beans.FeatureDescriptor

      extended bycom.sun.rave.designtime.markup.StyleClassDescriptor


public class StyleClassDescriptor
extends java.beans.FeatureDescriptor

The StyleClassDescriptor describes a CSS style class declared in an associated CSS stylesheet. These can be fetched as an array from a DesignContext by calling the 'getContextInfo(String key)' method passing in the Constants.ContextData.CSS_STYLE_CLASS_DESCRIPTORS key.

Version:
1.0
Author:
Joe Nuxoll
See Also:
DesignContext.getContextData(String), Constants.ContextData.CSS_STYLE_CLASS_DESCRIPTORS

Field Summary
protected  org.w3c.dom.css.CSSStyleDeclaration styleDeclaration
           
 
Constructor Summary
StyleClassDescriptor()
           
StyleClassDescriptor(java.lang.String styleClassName)
           
StyleClassDescriptor(java.lang.String styleClassName, org.w3c.dom.css.CSSStyleDeclaration styleDeclaration)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 org.w3c.dom.css.CSSStyleDeclaration getStyleDeclaration()
           
 void setStyleDeclaration(org.w3c.dom.css.CSSStyleDeclaration styleDeclaration)
           
 
Methods inherited from class java.beans.FeatureDescriptor
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

styleDeclaration


protected org.w3c.dom.css.CSSStyleDeclaration styleDeclaration
Constructor Detail

StyleClassDescriptor


public StyleClassDescriptor()

StyleClassDescriptor


public StyleClassDescriptor(java.lang.String styleClassName)

StyleClassDescriptor


public StyleClassDescriptor(java.lang.String styleClassName,
                            org.w3c.dom.css.CSSStyleDeclaration styleDeclaration)
Method Detail

equals


public boolean equals(java.lang.Object o)

getStyleDeclaration


public org.w3c.dom.css.CSSStyleDeclaration getStyleDeclaration()

setStyleDeclaration


public void setStyleDeclaration(org.w3c.dom.css.CSSStyleDeclaration styleDeclaration)