public abstract class CSSDeclarationRule extends StyleRule
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Object |
clone() |
boolean[] |
getImportantValues() |
CSSValue |
getPropertyCSSValue(StyleKey propertyName) |
StyleKey[] |
getPropertyKeysAsArray() |
CSSValue[] |
getStyleValues() |
boolean |
isEmpty() |
boolean |
isImportant(StyleKey propertyName) |
void |
removeProperty(StyleKey name) |
void |
setPropertyValue(StyleKey propertyName,
CSSValue value) |
void |
setPropertyValue(StyleKey propertyName,
CSSValue value,
boolean important) |
void |
setPropertyValueAsString(StyleKey styleKey,
String value)
Parses the given value for the stylekey.
|
getParentRule, getParentStyle, getStyleKeyRegistry, isReadOnly, makeReadOnly
public boolean isImportant(StyleKey propertyName)
public void setPropertyValueAsString(StyleKey styleKey, String value)
styleKey
- value
- public void setPropertyValue(StyleKey propertyName, CSSValue value, boolean important)
public void removeProperty(StyleKey name)
public void clear()
public StyleKey[] getPropertyKeysAsArray()
public CSSValue[] getStyleValues()
public boolean[] getImportantValues()
public Object clone() throws CloneNotSupportedException
clone
in class StyleRule
CloneNotSupportedException
public boolean isEmpty()