Class CSSOMStyleDeclaration
java.lang.Object
org.apache.batik.css.dom.CSSOMStyleDeclaration
- All Implemented Interfaces:
CSSStyleDeclaration
- Direct Known Subclasses:
CSSOMSVGStyleDeclaration
This class represents a style declaration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceTo manage the modifications on a CSS value.classThis class represents a CSS value returned by this declaration.static interfaceTo provides the values. -
Field Summary
FieldsModifier and TypeFieldDescriptionThe modifications handler.protected CSSRuleThe parent rule.protected CSSOMStyleDeclaration.ValueProviderThe associated value.protected MapThe values. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new style declaration. -
Method Summary
Modifier and TypeMethodDescriptionprotected CSSValuecreateCSSValue(String name) Creates the CSS value associated with the given property.DOM: ImplementsCSSStyleDeclaration.getCssText().protected CSSValuegetCSSValue(String name) Gets the CSS value associated with the given property.intDOM: ImplementsCSSStyleDeclaration.getLength().DOM: ImplementsCSSStyleDeclaration.getParentRule().getPropertyCSSValue(String propertyName) DOM: ImplementsCSSStyleDeclaration.getPropertyCSSValue(String).getPropertyPriority(String propertyName) DOM: ImplementsCSSStyleDeclaration.getPropertyPriority(String).getPropertyValue(String propertyName) DOM: ImplementsCSSStyleDeclaration.getPropertyValue(String).item(int index) DOM: ImplementsCSSStyleDeclaration.item(int).removeProperty(String propertyName) DOM: ImplementsCSSStyleDeclaration.removeProperty(String).voidsetCssText(String cssText) DOM: ImplementsCSSStyleDeclaration.setCssText(String).voidSets the modification handler of this value.voidsetProperty(String propertyName, String value, String prio) DOM: ImplementsCSSStyleDeclaration.setProperty(String,String,String).
-
Field Details
-
valueProvider
The associated value. -
handler
The modifications handler. -
parentRule
The parent rule. -
values
The values.
-
-
Constructor Details
-
CSSOMStyleDeclaration
Creates a new style declaration.
-
-
Method Details
-
setModificationHandler
Sets the modification handler of this value. -
getCssText
DOM: ImplementsCSSStyleDeclaration.getCssText().- Specified by:
getCssTextin interfaceCSSStyleDeclaration
-
setCssText
DOM: ImplementsCSSStyleDeclaration.setCssText(String).- Specified by:
setCssTextin interfaceCSSStyleDeclaration- Throws:
DOMException
-
getPropertyValue
DOM: ImplementsCSSStyleDeclaration.getPropertyValue(String).- Specified by:
getPropertyValuein interfaceCSSStyleDeclaration
-
getPropertyCSSValue
DOM: ImplementsCSSStyleDeclaration.getPropertyCSSValue(String).- Specified by:
getPropertyCSSValuein interfaceCSSStyleDeclaration
-
removeProperty
DOM: ImplementsCSSStyleDeclaration.removeProperty(String).- Specified by:
removePropertyin interfaceCSSStyleDeclaration- Throws:
DOMException
-
getPropertyPriority
DOM: ImplementsCSSStyleDeclaration.getPropertyPriority(String).- Specified by:
getPropertyPriorityin interfaceCSSStyleDeclaration
-
setProperty
DOM: ImplementsCSSStyleDeclaration.setProperty(String,String,String).- Specified by:
setPropertyin interfaceCSSStyleDeclaration- Throws:
DOMException
-
getLength
public int getLength()DOM: ImplementsCSSStyleDeclaration.getLength().- Specified by:
getLengthin interfaceCSSStyleDeclaration
-
item
DOM: ImplementsCSSStyleDeclaration.item(int).- Specified by:
itemin interfaceCSSStyleDeclaration
-
getParentRule
DOM: ImplementsCSSStyleDeclaration.getParentRule().- Specified by:
getParentRulein interfaceCSSStyleDeclaration
-
getCSSValue
-
createCSSValue
-