|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.anim.dom.AbstractSVGAnimatedValue
org.apache.batik.anim.dom.SVGOMAnimatedString
public class SVGOMAnimatedString
This class implements the SVGAnimatedString
interface.
Field Summary | |
---|---|
protected String |
animVal
The current animated value. |
Fields inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedValue |
---|
element, hasAnimVal, listeners, localName, namespaceURI |
Constructor Summary | |
---|---|
SVGOMAnimatedString(AbstractElement elt,
String ns,
String ln)
Creates a new SVGOMAnimatedString. |
Method Summary | |
---|---|
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 . |
Methods inherited from class org.apache.batik.anim.dom.AbstractSVGAnimatedValue |
---|
addAnimatedAttributeListener, fireAnimatedAttributeListeners, fireBaseAttributeListeners, getLocalName, getNamespaceURI, isSpecified, removeAnimatedAttributeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String animVal
Constructor Detail |
---|
public SVGOMAnimatedString(AbstractElement elt, String ns, String ln)
elt
- The associated element.ns
- The attribute's namespace URI.ln
- The attribute's local name.Method Detail |
---|
public String getBaseVal()
SVGAnimatedString.getBaseVal()
.
getBaseVal
in interface org.w3c.dom.svg.SVGAnimatedString
public void setBaseVal(String baseVal) throws DOMException
SVGAnimatedString.setBaseVal(String)
.
setBaseVal
in interface org.w3c.dom.svg.SVGAnimatedString
DOMException
public 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, String newv)
attrAdded
in interface LiveAttributeValue
public void attrModified(Attr node, String oldv, String newv)
attrModified
in interface LiveAttributeValue
public void attrRemoved(Attr node, String oldv)
attrRemoved
in interface LiveAttributeValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |