public abstract class AbstractSVGAnimatedValue extends java.lang.Object implements AnimatedLiveAttributeValue
SVGAnimated*
classes, that
implements an AnimatedAttributeListener
list.Modifier and Type | Field and Description |
---|---|
protected AbstractElement |
element
The associated element.
|
protected boolean |
hasAnimVal
Whether there is a current animated value.
|
protected java.util.LinkedList |
listeners
Listener list.
|
protected java.lang.String |
localName
The local name of the attribute.
|
protected java.lang.String |
namespaceURI
The namespace URI of the attribute.
|
Constructor and Description |
---|
AbstractSVGAnimatedValue(AbstractElement elt,
java.lang.String ns,
java.lang.String ln)
Creates a new AbstractSVGAnimatedValue.
|
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
getLocalName()
Returns the local name of the attribute.
|
java.lang.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 . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUnderlyingValue
attrAdded, attrModified, attrRemoved
protected AbstractElement element
protected java.lang.String namespaceURI
protected java.lang.String localName
protected boolean hasAnimVal
protected java.util.LinkedList listeners
public AbstractSVGAnimatedValue(AbstractElement elt, java.lang.String ns, java.lang.String ln)
public java.lang.String getNamespaceURI()
getNamespaceURI
in interface AnimatedLiveAttributeValue
public java.lang.String getLocalName()
getLocalName
in interface AnimatedLiveAttributeValue
public boolean isSpecified()
protected abstract void updateAnimatedValue(AnimatableValue val)
AnimatableValue
.public void addAnimatedAttributeListener(AnimatedAttributeListener aal)
addAnimatedAttributeListener
in interface AnimatedLiveAttributeValue
public void removeAnimatedAttributeListener(AnimatedAttributeListener aal)
removeAnimatedAttributeListener
in interface AnimatedLiveAttributeValue
protected void fireBaseAttributeListeners()
protected void fireAnimatedAttributeListeners()
Copyright © 2022 Apache Software Foundation. All Rights Reserved.