org.apache.batik.css.dom
public class CSSOMComputedStyle extends Object implements CSSStyleDeclaration
Nested Class Summary | |
---|---|
class | CSSOMComputedStyle.ComputedCSSValue
To manage a computed CSSValue. |
Field Summary | |
---|---|
protected CSSEngine | cssEngine
The CSS engine used to compute the values. |
protected CSSStylableElement | element
The associated element. |
protected String | pseudoElement
The optional pseudo-element. |
protected Map | values
The CSS values. |
Constructor Summary | |
---|---|
CSSOMComputedStyle(CSSEngine e, CSSStylableElement elt, String pseudoElt)
Creates a new computed style. |
Method Summary | |
---|---|
protected CSSValue | createCSSValue(int idx)
Creates a CSSValue to manage the value at the given index. |
String | getCssText()
DOM: Implements org.w3c.dom.css.CSSStyleDeclaration#getCssText(). |
int | getLength()
DOM: Implements org.w3c.dom.css.CSSStyleDeclaration#getLength(). |
CSSRule | getParentRule()
DOM: Implements org.w3c.dom.css.CSSStyleDeclaration#getParentRule(). |
CSSValue | getPropertyCSSValue(String propertyName)
DOM: Implements org.w3c.dom.css.CSSStyleDeclaration#getPropertyCSSValue(String). |
String | getPropertyPriority(String propertyName)
DOM: Implements org.w3c.dom.css.CSSStyleDeclaration#getPropertyPriority(String). |
String | getPropertyValue(String propertyName)
DOM: Implements org.w3c.dom.css.CSSStyleDeclaration#getPropertyValue(String). |
String | item(int index)
DOM: Implements org.w3c.dom.css.CSSStyleDeclaration#item(int). |
String | removeProperty(String propertyName)
DOM: Implements org.w3c.dom.css.CSSStyleDeclaration#removeProperty(String). |
void | setCssText(String cssText)
DOM: Implements org.w3c.dom.css.CSSStyleDeclaration#setCssText(String).
|
void | setProperty(String propertyName, String value, String prio)
DOM: Implements org.w3c.dom.css.CSSStyleDeclaration#setProperty(String,String,String). |
Returns: null.