AnimatedLiveAttributeValue, LiveAttributeValue, org.w3c.dom.svg.SVGAnimatedNumberListpublic class SVGOMAnimatedNumberList extends AbstractSVGAnimatedValue implements org.w3c.dom.svg.SVGAnimatedNumberList
SVGAnimatedNumberList
interface.| Modifier and Type | Class | Description |
|---|---|---|
protected class |
SVGOMAnimatedNumberList.AnimSVGNumberList |
SVGNumberList implementation for the animated number list value. |
class |
SVGOMAnimatedNumberList.BaseSVGNumberList |
SVGNumberList implementation for the base number list value. |
| Modifier and Type | Field | Description |
|---|---|---|
protected SVGOMAnimatedNumberList.AnimSVGNumberList |
animVal |
The animated value.
|
protected SVGOMAnimatedNumberList.BaseSVGNumberList |
baseVal |
The base value.
|
protected boolean |
changing |
Whether the list is changing.
|
protected java.lang.String |
defaultValue |
Default value for the number list.
|
protected boolean |
emptyAllowed |
Whether empty length lists are allowed.
|
element, hasAnimVal, listeners, localName, namespaceURI| Constructor | Description |
|---|---|
SVGOMAnimatedNumberList(AbstractElement elt,
java.lang.String ns,
java.lang.String ln,
java.lang.String defaultValue,
boolean emptyAllowed) |
Creates a new SVGOMAnimatedNumberList.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
attrAdded(org.w3c.dom.Attr node,
java.lang.String newv) |
Called when an Attr node has been added.
|
void |
attrModified(org.w3c.dom.Attr node,
java.lang.String oldv,
java.lang.String newv) |
Called when an Attr node has been modified.
|
void |
attrRemoved(org.w3c.dom.Attr node,
java.lang.String oldv) |
Called when an Attr node has been removed.
|
void |
check() |
Throws an exception if the number list value is malformed.
|
org.w3c.dom.svg.SVGNumberList |
getAnimVal() |
DOM: Implements
SVGAnimatedNumberList.getAnimVal(). |
org.w3c.dom.svg.SVGNumberList |
getBaseVal() |
DOM: Implements
SVGAnimatedNumberList.getBaseVal(). |
AnimatableValue |
getUnderlyingValue(AnimationTarget target) |
Returns the base value of the attribute as an
AnimatableValue. |
protected void |
updateAnimatedValue(AnimatableValue val) |
Updates the animated value with the given
AnimatableValue. |
addAnimatedAttributeListener, fireAnimatedAttributeListeners, fireBaseAttributeListeners, getLocalName, getNamespaceURI, isSpecified, removeAnimatedAttributeListenerprotected SVGOMAnimatedNumberList.BaseSVGNumberList baseVal
protected SVGOMAnimatedNumberList.AnimSVGNumberList animVal
protected boolean changing
protected java.lang.String defaultValue
protected boolean emptyAllowed
public SVGOMAnimatedNumberList(AbstractElement elt, java.lang.String ns, java.lang.String ln, java.lang.String defaultValue, boolean emptyAllowed)
elt - The associated element.ns - The attribute's namespace URI.ln - The attribute's local name.defaultValue - The default value if the attribute is not specified.emptyAllowed - Whether an empty number list is allowed.public org.w3c.dom.svg.SVGNumberList getBaseVal()
SVGAnimatedNumberList.getBaseVal().getBaseVal in interface org.w3c.dom.svg.SVGAnimatedNumberListpublic org.w3c.dom.svg.SVGNumberList getAnimVal()
SVGAnimatedNumberList.getAnimVal().getAnimVal in interface org.w3c.dom.svg.SVGAnimatedNumberListpublic void check()
public AnimatableValue getUnderlyingValue(AnimationTarget target)
AnimatableValue.getUnderlyingValue in interface AnimatedLiveAttributeValueprotected void updateAnimatedValue(AnimatableValue val)
AnimatableValue.updateAnimatedValue in class AbstractSVGAnimatedValuepublic void attrAdded(org.w3c.dom.Attr node,
java.lang.String newv)
attrAdded in interface LiveAttributeValuepublic void attrModified(org.w3c.dom.Attr node,
java.lang.String oldv,
java.lang.String newv)
attrModified in interface LiveAttributeValuepublic void attrRemoved(org.w3c.dom.Attr node,
java.lang.String oldv)
attrRemoved in interface LiveAttributeValueCopyright ? 2018 Apache Software Foundation. All Rights Reserved.