CSSValue interface represents a simple or a complex
value. A CSSValue object only occurs in a context of a CSS
property.
See also the Document Object Model (DOM) Level 2 Style Specification.
| Modifier and Type | Field and Description |
|---|---|
| public static final short | CSS_CUSTOM
The value is a custom value. |
| public static final short | CSS_INHERIT
The value is inherited and the |
| public static final short | CSS_PRIMITIVE_VALUE
The value is a primitive value and an instance of the
|
| public static final short | CSS_VALUE_LIST
The value is a |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public short | |
| public void |
| CSS_CUSTOM | back to summary |
|---|---|
| public static final short CSS_CUSTOM The value is a custom value. | |
| CSS_INHERIT | back to summary |
|---|---|
| public static final short CSS_INHERIT The value is inherited and the | |
| CSS_PRIMITIVE_VALUE | back to summary |
|---|---|
| public static final short CSS_PRIMITIVE_VALUE The value is a primitive value and an instance of the
| |
| CSS_VALUE_LIST | back to summary |
|---|---|
| public static final short CSS_VALUE_LIST The value is a | |
| getCssText | back to summary |
|---|---|
| public String getCssText() A string representation of the current value. | |
| getCssValueType | back to summary |
|---|---|
| public short getCssValueType() A code defining the type of the value as defined above. | |
| setCssText | back to summary |
|---|---|
| public void setCssText(String cssText) throws DOMException A string representation of the current value.
| |