org.apache.batik.dom.svg
public abstract class AbstractSVGAnimatedValue extends Object implements AnimatedLiveAttributeValue
SVGAnimated* classes, that
implements an AnimatedAttributeListener list.
| Field Summary | |
|---|---|
| protected AbstractElement | element
The associated element. |
| protected boolean | hasAnimVal
Whether there is a current animated value. |
| protected LinkedList | listeners
Listener list. |
| protected String | localName
The local name of the attribute. |
| protected String | namespaceURI
The namespace URI of the attribute. |
| Constructor Summary | |
|---|---|
| AbstractSVGAnimatedValue(AbstractElement elt, String ns, String ln)
Creates a new AbstractSVGAnimatedValue. | |
| Method Summary | |
|---|---|
| void | addAnimatedAttributeListener(AnimatedAttributeListener aal)
Adds a listener for changes to the animated value. |
| protected void | fireAnimatedAttributeListeners()
Fires the listeners for the animated value. |
| protected void | fireBaseAttributeListeners()
Fires the listeners for the base value. |
| String | getLocalName()
Returns the local name of the attribute. |
| String | getNamespaceURI()
Returns the namespace URI of the attribute. |
| boolean | isSpecified()
Returns whether this animated value has a specified value. |
| void | removeAnimatedAttributeListener(AnimatedAttributeListener aal)
Removes a listener for changes to the animated value. |
| protected abstract void | updateAnimatedValue(AnimatableValue val)
Updates the animated value with the given AnimatableValue. |
Returns: true if the DOM attribute is specified or if the attribute has an animated value, false otherwise