Class CSSOMStoredStyleDeclaration
java.lang.Object
org.apache.batik.css.dom.CSSOMStyleDeclaration
org.apache.batik.css.dom.CSSOMSVGStyleDeclaration
org.apache.batik.css.dom.CSSOMStoredStyleDeclaration
- All Implemented Interfaces:
CSSOMStyleDeclaration.ModificationHandler, CSSOMStyleDeclaration.ValueProvider, StyleDeclarationProvider, CSSStyleDeclaration
- Direct Known Subclasses:
SVGStylableElement.OverrideStyleDeclaration, SVGStylableElement.StyleDeclaration
public abstract class CSSOMStoredStyleDeclaration
extends CSSOMSVGStyleDeclaration
implements CSSOMStyleDeclaration.ValueProvider, CSSOMStyleDeclaration.ModificationHandler, StyleDeclarationProvider
A class for SVG style declarations that store their properties in a
StyleDeclaration.-
Nested Class Summary
Nested classes/interfaces inherited from class CSSOMSVGStyleDeclaration
CSSOMSVGStyleDeclaration.StyleDeclarationColorValue, CSSOMSVGStyleDeclaration.StyleDeclarationPaintValueNested classes/interfaces inherited from class CSSOMStyleDeclaration
CSSOMStyleDeclaration.ModificationHandler, CSSOMStyleDeclaration.StyleDeclarationValue, CSSOMStyleDeclaration.ValueProvider -
Field Summary
FieldsFields inherited from class CSSOMSVGStyleDeclaration
cssEngineFields inherited from class CSSOMStyleDeclaration
handler, parentRule, valueProvider, values -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new CSSOMStoredStyleDeclaration. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the length of the declaration.Returns the object storing the properties of this style declaration.getText()Returns the text of the declaration.Returns the current value associated with this object.booleanisImportant(String name) Tells whether the given property is important.item(int idx) Returns the value at the given.voidSets the object storing the properties of this style declaration.Methods inherited from class CSSOMSVGStyleDeclaration
createCSSValueMethods inherited from class CSSOMStyleDeclaration
getCssText, getCSSValue, getParentRule, getPropertyCSSValue, getPropertyPriority, getPropertyValue, removeProperty, setCssText, setModificationHandler, setPropertyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CSSOMStyleDeclaration.ModificationHandler
propertyChanged, propertyRemoved, textChanged
-
Field Details
-
declaration
The object storing the properties.
-
-
Constructor Details
-
CSSOMStoredStyleDeclaration
Creates a new CSSOMStoredStyleDeclaration.
-
-
Method Details
-
getStyleDeclaration
Returns the object storing the properties of this style declaration.- Specified by:
getStyleDeclarationin interfaceStyleDeclarationProvider
-
setStyleDeclaration
Sets the object storing the properties of this style declaration.- Specified by:
setStyleDeclarationin interfaceStyleDeclarationProvider
-
getValue
Returns the current value associated with this object.- Specified by:
getValuein interfaceCSSOMStyleDeclaration.ValueProvider
-
isImportant
Tells whether the given property is important.- Specified by:
isImportantin interfaceCSSOMStyleDeclaration.ValueProvider
-
getText
Returns the text of the declaration.- Specified by:
getTextin interfaceCSSOMStyleDeclaration.ValueProvider
-
getLength
public int getLength()Returns the length of the declaration.- Specified by:
getLengthin interfaceCSSOMStyleDeclaration.ValueProvider- Specified by:
getLengthin interfaceCSSStyleDeclaration- Overrides:
getLengthin classCSSOMStyleDeclaration
-
item
Returns the value at the given.- Specified by:
itemin interfaceCSSOMStyleDeclaration.ValueProvider- Specified by:
itemin interfaceCSSStyleDeclaration- Overrides:
itemin classCSSOMStyleDeclaration
-