|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.css.dom.CSSOMComputedStyle
public class CSSOMComputedStyle
This class represents the computed style of an element.
| 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 org.w3c.dom.css.CSSValue |
createCSSValue(int idx)
Creates a CSSValue to manage the value at the given index. |
String |
getCssText()
DOM: Implements CSSStyleDeclaration.getCssText(). |
int |
getLength()
DOM: Implements CSSStyleDeclaration.getLength(). |
org.w3c.dom.css.CSSRule |
getParentRule()
DOM: Implements CSSStyleDeclaration.getParentRule(). |
org.w3c.dom.css.CSSValue |
getPropertyCSSValue(String propertyName)
DOM: Implements CSSStyleDeclaration.getPropertyCSSValue(String). |
String |
getPropertyPriority(String propertyName)
DOM: Implements CSSStyleDeclaration.getPropertyPriority(String). |
String |
getPropertyValue(String propertyName)
DOM: Implements CSSStyleDeclaration.getPropertyValue(String). |
String |
item(int index)
DOM: Implements CSSStyleDeclaration.item(int). |
String |
removeProperty(String propertyName)
DOM: Implements CSSStyleDeclaration.removeProperty(String). |
void |
setCssText(String cssText)
DOM: Implements CSSStyleDeclaration.setCssText(String). |
void |
setProperty(String propertyName,
String value,
String prio)
DOM: Implements CSSStyleDeclaration.setProperty(String,String,String). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CSSEngine cssEngine
protected CSSStylableElement element
protected String pseudoElement
protected Map values
| Constructor Detail |
|---|
public CSSOMComputedStyle(CSSEngine e,
CSSStylableElement elt,
String pseudoElt)
| Method Detail |
|---|
public String getCssText()
CSSStyleDeclaration.getCssText().
getCssText in interface org.w3c.dom.css.CSSStyleDeclaration
public void setCssText(String cssText)
throws DOMException
CSSStyleDeclaration.setCssText(String).
Throws a NO_MODIFICATION_ALLOWED_ERR DOMException.
setCssText in interface org.w3c.dom.css.CSSStyleDeclarationDOMExceptionpublic String getPropertyValue(String propertyName)
CSSStyleDeclaration.getPropertyValue(String).
getPropertyValue in interface org.w3c.dom.css.CSSStyleDeclarationpublic org.w3c.dom.css.CSSValue getPropertyCSSValue(String propertyName)
CSSStyleDeclaration.getPropertyCSSValue(String).
getPropertyCSSValue in interface org.w3c.dom.css.CSSStyleDeclaration
public String removeProperty(String propertyName)
throws DOMException
CSSStyleDeclaration.removeProperty(String).
removeProperty in interface org.w3c.dom.css.CSSStyleDeclarationDOMExceptionpublic String getPropertyPriority(String propertyName)
CSSStyleDeclaration.getPropertyPriority(String).
getPropertyPriority in interface org.w3c.dom.css.CSSStyleDeclaration
public void setProperty(String propertyName,
String value,
String prio)
throws DOMException
CSSStyleDeclaration.setProperty(String,String,String).
setProperty in interface org.w3c.dom.css.CSSStyleDeclarationDOMExceptionpublic int getLength()
CSSStyleDeclaration.getLength().
getLength in interface org.w3c.dom.css.CSSStyleDeclarationpublic String item(int index)
CSSStyleDeclaration.item(int).
item in interface org.w3c.dom.css.CSSStyleDeclarationpublic org.w3c.dom.css.CSSRule getParentRule()
CSSStyleDeclaration.getParentRule().
getParentRule in interface org.w3c.dom.css.CSSStyleDeclarationprotected org.w3c.dom.css.CSSValue createCSSValue(int idx)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||