CSSCounterRule
, CSSFontFaceRule
, CSSMediaRule
, CSSPageAreaRule
, CSSPageRule
, CSSStringRule
, CSSStyleRule
public abstract class CSSDeclarationRule extends StyleRule
Modifier | Constructor | Description |
---|---|---|
protected |
CSSDeclarationRule(StyleSheet parentStyle,
StyleRule parentRule) |
Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
|
java.lang.Object |
clone() |
|
boolean[] |
getImportantValues() |
|
CSSValue |
getPropertyCSSValue(StyleKey propertyName) |
|
StyleKey[] |
getPropertyKeysAsArray() |
|
CSSValue[] |
getStyleValues() |
|
boolean |
isEmpty() |
|
boolean |
isImportant(StyleKey propertyName) |
|
void |
removeProperty(StyleKey name) |
|
void |
setImportant(StyleKey propertyName,
boolean important) |
|
void |
setPropertyValue(StyleKey propertyName,
CSSValue value) |
|
void |
setPropertyValue(StyleKey propertyName,
CSSValue value,
boolean important) |
|
void |
setPropertyValueAsString(java.lang.String styleKey,
java.lang.String value) |
|
void |
setPropertyValueAsString(StyleKey styleKey,
java.lang.String value) |
Parses the given value for the stylekey.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParentRule, getParentStyle, getStyleKeyRegistry, isReadOnly, makeReadOnly, setParentRule, setParentStyle
protected CSSDeclarationRule(StyleSheet parentStyle, StyleRule parentRule)
public boolean isImportant(StyleKey propertyName)
public void setImportant(StyleKey propertyName, boolean important)
public void setPropertyValueAsString(java.lang.String styleKey, java.lang.String value)
public void setPropertyValueAsString(StyleKey styleKey, java.lang.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 java.lang.Object clone() throws java.lang.CloneNotSupportedException
public boolean isEmpty()