AnimatedLiveAttributeValue, LiveAttributeValueAbstractSVGAnimatedLength, SVGOMAnimatedBoolean, SVGOMAnimatedEnumeration, SVGOMAnimatedInteger, SVGOMAnimatedLengthList, SVGOMAnimatedMarkerOrientValue, SVGOMAnimatedNumber, SVGOMAnimatedNumberList, SVGOMAnimatedPathData, SVGOMAnimatedPoints, SVGOMAnimatedPreserveAspectRatio, SVGOMAnimatedRect, SVGOMAnimatedString, SVGOMAnimatedTransformListpublic abstract class AbstractSVGAnimatedValue extends java.lang.Object implements AnimatedLiveAttributeValue
SVGAnimated* classes, that
implements an AnimatedAttributeListener list.| Modifier and Type | Field | 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 | Description |
|---|---|
AbstractSVGAnimatedValue(AbstractElement elt,
java.lang.String ns,
java.lang.String ln) |
Creates a new AbstractSVGAnimatedValue.
|
| Modifier and Type | Method | 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. |
getUnderlyingValueattrAdded, attrModified, attrRemovedprotected 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 AnimatedLiveAttributeValuepublic java.lang.String getLocalName()
getLocalName in interface AnimatedLiveAttributeValuepublic boolean isSpecified()
protected abstract void updateAnimatedValue(AnimatableValue val)
AnimatableValue.public void addAnimatedAttributeListener(AnimatedAttributeListener aal)
addAnimatedAttributeListener in interface AnimatedLiveAttributeValuepublic void removeAnimatedAttributeListener(AnimatedAttributeListener aal)
removeAnimatedAttributeListener in interface AnimatedLiveAttributeValueprotected void fireBaseAttributeListeners()
protected void fireAnimatedAttributeListeners()
Copyright ? 2018 Apache Software Foundation. All Rights Reserved.