org.stjs.javascript
Class CSSStyleDeclaration
java.lang.Object
org.stjs.javascript.CSSStyleDeclaration
public abstract class CSSStyleDeclaration
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cssText
public String cssText
- Textual representation of the declaration block. Setting this attribute changes the style.
length
public Integer length
- The number of properties. See the item method below.
parentRule
public CSSStyleRule parentRule
- The containing cssRule.
CSSStyleDeclaration
public CSSStyleDeclaration()
getPropertyPriority
public abstract String getPropertyPriority(String propertyName)
- Parameters:
propertyName -
- Returns:
- the optional priority, "important".
getPropertyValue
public abstract String getPropertyValue(String propertyName)
- Parameters:
propertyName -
- Returns:
- the property value
index
public abstract String index(Integer item)
- Parameters:
item -
- Returns:
- the property name
removeProperty
public abstract String removeProperty(String propertyName)
- Parameters:
propertyName -
- Returns:
- the value deleted
setProperty
public abstract void setProperty(String propertyName,
String value,
String priority)
- Parameters:
propertyName - value - priority - (important or null)
Copyright © 2013. All Rights Reserved.