Class SVGOMAnimatedString
java.lang.Object
org.apache.batik.anim.dom.AbstractSVGAnimatedValue
org.apache.batik.anim.dom.SVGOMAnimatedString
- All Implemented Interfaces:
AnimatedLiveAttributeValue, LiveAttributeValue, org.w3c.dom.svg.SVGAnimatedString
public class SVGOMAnimatedString
extends AbstractSVGAnimatedValue
implements org.w3c.dom.svg.SVGAnimatedString
This class implements the
SVGAnimatedString interface.-
Field Summary
FieldsFields inherited from class AbstractSVGAnimatedValue
element, hasAnimVal, listeners, localName, namespaceURI -
Constructor Summary
ConstructorsConstructorDescriptionSVGOMAnimatedString(AbstractElement elt, String ns, String ln) Creates a new SVGOMAnimatedString. -
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.DOM: ImplementsSVGAnimatedString.getAnimVal().DOM: ImplementsSVGAnimatedString.getBaseVal().getUnderlyingValue(AnimationTarget target) Returns the base value of the attribute as anAnimatableValue.voidsetBaseVal(String baseVal) DOM: ImplementsSVGAnimatedString.setBaseVal(String).protected voidUpdates the animated value with the givenAnimatableValue.
-
Field Details
-
animVal
The current animated value.
-
-
Constructor Details
-
SVGOMAnimatedString
Creates a new SVGOMAnimatedString.- Parameters:
elt- The associated element.ns- The attribute's namespace URI.ln- The attribute's local name.
-
-
Method Details
-
getBaseVal
DOM: ImplementsSVGAnimatedString.getBaseVal().- Specified by:
getBaseValin interfaceorg.w3c.dom.svg.SVGAnimatedString
-
setBaseVal
DOM: ImplementsSVGAnimatedString.setBaseVal(String).- Specified by:
setBaseValin interfaceorg.w3c.dom.svg.SVGAnimatedString- Throws:
DOMException
-
getAnimVal
DOM: ImplementsSVGAnimatedString.getAnimVal().- Specified by:
getAnimValin interfaceorg.w3c.dom.svg.SVGAnimatedString
-
getUnderlyingValue
Returns the base value of the attribute as anAnimatableValue.- Specified by:
getUnderlyingValuein interfaceAnimatedLiveAttributeValue
-
updateAnimatedValue
Updates the animated value with the givenAnimatableValue.- Specified by:
updateAnimatedValuein classAbstractSVGAnimatedValue
-
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
-