public class SVGOMAnimatedString extends AbstractSVGAnimatedValue implements org.w3c.dom.svg.SVGAnimatedString
SVGAnimatedString
interface.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
animVal
The current animated value.
|
element, hasAnimVal, listeners, localName, namespaceURI
Constructor and Description |
---|
SVGOMAnimatedString(AbstractElement elt,
java.lang.String ns,
java.lang.String ln)
Creates a new SVGOMAnimatedString.
|
Modifier and Type | Method and Description |
---|---|
void |
attrAdded(Attr node,
java.lang.String newv)
Called when an Attr node has been added.
|
void |
attrModified(Attr node,
java.lang.String oldv,
java.lang.String newv)
Called when an Attr node has been modified.
|
void |
attrRemoved(Attr node,
java.lang.String oldv)
Called when an Attr node has been removed.
|
java.lang.String |
getAnimVal()
DOM: Implements
SVGAnimatedString.getAnimVal() . |
java.lang.String |
getBaseVal()
DOM: Implements
SVGAnimatedString.getBaseVal() . |
AnimatableValue |
getUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as an
AnimatableValue . |
void |
setBaseVal(java.lang.String baseVal)
DOM: Implements
SVGAnimatedString.setBaseVal(String) . |
protected void |
updateAnimatedValue(AnimatableValue val)
Updates the animated value with the given
AnimatableValue . |
addAnimatedAttributeListener, fireAnimatedAttributeListeners, fireBaseAttributeListeners, getLocalName, getNamespaceURI, isSpecified, removeAnimatedAttributeListener
public SVGOMAnimatedString(AbstractElement elt, java.lang.String ns, java.lang.String ln)
elt
- The associated element.ns
- The attribute's namespace URI.ln
- The attribute's local name.public java.lang.String getBaseVal()
SVGAnimatedString.getBaseVal()
.getBaseVal
in interface org.w3c.dom.svg.SVGAnimatedString
public void setBaseVal(java.lang.String baseVal) throws DOMException
SVGAnimatedString.setBaseVal(String)
.setBaseVal
in interface org.w3c.dom.svg.SVGAnimatedString
DOMException
public java.lang.String getAnimVal()
SVGAnimatedString.getAnimVal()
.getAnimVal
in interface org.w3c.dom.svg.SVGAnimatedString
public AnimatableValue getUnderlyingValue(AnimationTarget target)
AnimatableValue
.getUnderlyingValue
in interface AnimatedLiveAttributeValue
protected void updateAnimatedValue(AnimatableValue val)
AnimatableValue
.updateAnimatedValue
in class AbstractSVGAnimatedValue
public void attrAdded(Attr node, java.lang.String newv)
attrAdded
in interface LiveAttributeValue
public void attrModified(Attr node, java.lang.String oldv, java.lang.String newv)
attrModified
in interface LiveAttributeValue
public void attrRemoved(Attr node, java.lang.String oldv)
attrRemoved
in interface LiveAttributeValue
Copyright © 2022 Apache Software Foundation. All Rights Reserved.