com.sun.rave.designtime.markup
Class StyleClassDescriptor
java.lang.Object
java.beans.FeatureDescriptor
com.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
| 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 |
styleDeclaration
protected org.w3c.dom.css.CSSStyleDeclaration styleDeclaration
StyleClassDescriptor
public StyleClassDescriptor()
StyleClassDescriptor
public StyleClassDescriptor(java.lang.String styleClassName)
StyleClassDescriptor
public StyleClassDescriptor(java.lang.String styleClassName,
org.w3c.dom.css.CSSStyleDeclaration styleDeclaration)
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)