org.apache.batik.css.dom
public class CSSOMStyleDeclaration extends Object implements CSSStyleDeclaration
Nested Class Summary | |
---|---|
interface | CSSOMStyleDeclaration.ModificationHandler
To manage the modifications on a CSS value. |
class | CSSOMStyleDeclaration.StyleDeclarationValue
This class represents a CSS value returned by this declaration. |
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. |
Method Summary | |
---|---|
protected CSSValue | createCSSValue(String name)
Creates the CSS value associated with the given property. |
String | getCssText()
DOM: Implements {@link
org.w3c.dom.css.CSSStyleDeclaration#getCssText()}. |
protected CSSValue | getCSSValue(String name)
Gets the CSS value associated with the given property. |
int | getLength()
DOM: Implements {@link
org.w3c.dom.css.CSSStyleDeclaration#getLength()}. |
CSSRule | getParentRule()
DOM: Implements {@link
org.w3c.dom.css.CSSStyleDeclaration#getParentRule()}. |
CSSValue | getPropertyCSSValue(String propertyName)
DOM: Implements {@link
org.w3c.dom.css.CSSStyleDeclaration#getPropertyCSSValue(String)}. |
String | getPropertyPriority(String propertyName)
DOM: Implements {@link
org.w3c.dom.css.CSSStyleDeclaration#getPropertyPriority(String)}. |
String | getPropertyValue(String propertyName)
DOM: Implements {@link
org.w3c.dom.css.CSSStyleDeclaration#getPropertyValue(String)}. |
String | item(int index)
DOM: Implements {@link
org.w3c.dom.css.CSSStyleDeclaration#item(int)}. |
String | removeProperty(String propertyName)
DOM: Implements {@link
org.w3c.dom.css.CSSStyleDeclaration#removeProperty(String)}. |
void | setCssText(String cssText)
DOM: Implements {@link
org.w3c.dom.css.CSSStyleDeclaration#setCssText(String)}. |
void | setModificationHandler(CSSOMStyleDeclaration.ModificationHandler h)
Sets the modification handler of this value. |
void | setProperty(String propertyName, String value, String prio)
DOM: Implements {@link
org.w3c.dom.css.CSSStyleDeclaration#setProperty(String,String,String)}. |