public class SVGOMAnimatedString extends AbstractSVGAnimatedValue
SVGAnimatedString interface.| Modifier and Type | Field and Description |
|---|---|
protected String |
animVal
The current animated value.
|
element, hasAnimVal, listeners, localName, namespaceURI| Constructor and Description |
|---|
SVGOMAnimatedString(AbstractElement elt,
String ns,
String ln)
Creates a new SVGOMAnimatedString.
|
| Modifier and Type | Method and Description |
|---|---|
void |
attrAdded(Attr node,
String newv)
Called when an Attr node has been added.
|
void |
attrModified(Attr node,
String oldv,
String newv)
Called when an Attr node has been modified.
|
void |
attrRemoved(Attr node,
String oldv)
Called when an Attr node has been removed.
|
String |
getAnimVal()
DOM: Implements
SVGAnimatedString#getAnimVal(). |
String |
getBaseVal()
DOM: Implements
SVGAnimatedString#getBaseVal(). |
AnimatableValue |
getUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as an
AnimatableValue. |
void |
setBaseVal(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, removeAnimatedAttributeListenerprotected String animVal
public SVGOMAnimatedString(AbstractElement elt, String ns, String ln)
elt - The associated element.ns - The attribute's namespace URI.ln - The attribute's local name.public String getBaseVal()
SVGAnimatedString#getBaseVal().public void setBaseVal(String baseVal) throws DOMException
SVGAnimatedString#setBaseVal(String).DOMExceptionpublic String getAnimVal()
SVGAnimatedString#getAnimVal().public AnimatableValue getUnderlyingValue(AnimationTarget target)
AnimatableValue.protected void updateAnimatedValue(AnimatableValue val)
AnimatableValue.updateAnimatedValue in class AbstractSVGAnimatedValuepublic void attrModified(Attr node, String oldv, String newv)
Copyright ? 2015 Apache Software Foundation. All Rights Reserved.