|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.css.dom.CSSOMStyleDeclaration
public class CSSOMStyleDeclaration
This class represents a style declaration.
| Nested Class Summary | |
|---|---|
static interface |
CSSOMStyleDeclaration.ModificationHandler
To manage the modifications on a CSS value. |
class |
CSSOMStyleDeclaration.StyleDeclarationValue
This class represents a CSS value returned by this declaration. |
static interface |
CSSOMStyleDeclaration.ValueProvider
To provides the values. |
| Field Summary | |
|---|---|
protected CSSOMStyleDeclaration.ModificationHandler |
handler
The modifications handler. |
protected CSSRule |
parentRule
The parent rule. |
protected CSSOMStyleDeclaration.ValueProvider |
valueProvider
The associated value. |
protected Map |
values
The values. |
| Constructor Summary | |
|---|---|
CSSOMStyleDeclaration(CSSOMStyleDeclaration.ValueProvider vp,
CSSRule parent)
Creates a new style declaration. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CSSOMStyleDeclaration.ValueProvider valueProvider
protected CSSOMStyleDeclaration.ModificationHandler handler
protected CSSRule parentRule
protected Map values
| Constructor Detail |
|---|
public CSSOMStyleDeclaration(CSSOMStyleDeclaration.ValueProvider vp,
CSSRule parent)
| Method Detail |
|---|
public void setModificationHandler(CSSOMStyleDeclaration.ModificationHandler h)
public String getCssText()
CSSStyleDeclaration.getCssText().
getCssText in interface CSSStyleDeclaration
public void setCssText(String cssText)
throws DOMException
CSSStyleDeclaration.setCssText(String).
setCssText in interface CSSStyleDeclarationDOMExceptionpublic String getPropertyValue(String propertyName)
CSSStyleDeclaration.getPropertyValue(String).
getPropertyValue in interface CSSStyleDeclarationpublic CSSValue getPropertyCSSValue(String propertyName)
CSSStyleDeclaration.getPropertyCSSValue(String).
getPropertyCSSValue in interface CSSStyleDeclaration
public String removeProperty(String propertyName)
throws DOMException
CSSStyleDeclaration.removeProperty(String).
removeProperty in interface CSSStyleDeclarationDOMExceptionpublic String getPropertyPriority(String propertyName)
CSSStyleDeclaration.getPropertyPriority(String).
getPropertyPriority in interface CSSStyleDeclaration
public void setProperty(String propertyName,
String value,
String prio)
throws DOMException
CSSStyleDeclaration.setProperty(String,String,String).
setProperty in interface CSSStyleDeclarationDOMExceptionpublic int getLength()
CSSStyleDeclaration.getLength().
getLength in interface CSSStyleDeclarationpublic String item(int index)
CSSStyleDeclaration.item(int).
item in interface CSSStyleDeclarationpublic CSSRule getParentRule()
CSSStyleDeclaration.getParentRule().
getParentRule in interface CSSStyleDeclarationprotected CSSValue getCSSValue(String name)
protected CSSValue createCSSValue(String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||