Class SVGStylableElement.StyleDeclaration
java.lang.Object
org.apache.batik.css.dom.CSSOMStyleDeclaration
org.apache.batik.css.dom.CSSOMSVGStyleDeclaration
org.apache.batik.css.dom.CSSOMStoredStyleDeclaration
org.apache.batik.anim.dom.SVGStylableElement.StyleDeclaration
- All Implemented Interfaces:
CSSOMStyleDeclaration.ModificationHandler, CSSOMStyleDeclaration.ValueProvider, CSSEngine.MainPropertyReceiver, StyleDeclarationProvider, LiveAttributeValue, CSSStyleDeclaration
- Enclosing class:
SVGStylableElement
public class SVGStylableElement.StyleDeclaration
extends CSSOMStoredStyleDeclaration
implements LiveAttributeValue, CSSEngine.MainPropertyReceiver
This class represents the 'style' attribute.
-
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
FieldsModifier and TypeFieldDescriptionprotected booleanWhether the mutation comes from this object.Fields inherited from class CSSOMStoredStyleDeclaration
declarationFields inherited from class CSSOMSVGStyleDeclaration
cssEngineFields inherited from class CSSOMStyleDeclaration
handler, parentRule, valueProvider, values -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when an Attr node has been added.voidattrModified(Attr node, String oldv, String newv) Called when an Attr node has been modified.voidattrRemoved(Attr node, String oldv) Called when an Attr node has been removed.voidpropertyChanged(String name, String value, String prio) Called when a property was changed.voidpropertyRemoved(String name) Called when a property was removed.voidsetMainProperty(String name, Value v, boolean important) Sets a main property value in response to a shorthand property being set.voidtextChanged(String text) Called when the value text has changed.Methods inherited from class CSSOMStoredStyleDeclaration
getLength, getStyleDeclaration, getText, getValue, isImportant, item, setStyleDeclarationMethods inherited from class CSSOMSVGStyleDeclaration
createCSSValueMethods inherited from class CSSOMStyleDeclaration
getCssText, getCSSValue, getParentRule, getPropertyCSSValue, getPropertyPriority, getPropertyValue, removeProperty, setCssText, setModificationHandler, setProperty
-
Field Details
-
mutate
protected boolean mutateWhether the mutation comes from this object.
-
-
Constructor Details
-
StyleDeclaration
Creates a new StyleDeclaration.
-
-
Method Details
-
attrAdded
Called when an Attr node has been added.- Specified by:
attrAddedin interfaceLiveAttributeValue
-
attrModified
Called when an Attr node has been modified.- Specified by:
attrModifiedin interfaceLiveAttributeValue
-
attrRemoved
Called when an Attr node has been removed.- Specified by:
attrRemovedin interfaceLiveAttributeValue
-
textChanged
Called when the value text has changed.- Specified by:
textChangedin interfaceCSSOMStyleDeclaration.ModificationHandler- Throws:
DOMException
-
propertyRemoved
Called when a property was removed.- Specified by:
propertyRemovedin interfaceCSSOMStyleDeclaration.ModificationHandler- Throws:
DOMException
-
propertyChanged
Called when a property was changed.- Specified by:
propertyChangedin interfaceCSSOMStyleDeclaration.ModificationHandler- Throws:
DOMException
-
setMainProperty
Sets a main property value in response to a shorthand property being set.- Specified by:
setMainPropertyin interfaceCSSEngine.MainPropertyReceiver
-