public class SVGOMAnimatedLengthList extends AbstractSVGAnimatedValue
SVGAnimatedLengthList
interface.Modifier and Type | Class and Description |
---|---|
protected class |
SVGOMAnimatedLengthList.AnimSVGLengthList
SVGOMAnimatedLengthList.BaseSVGLengthList implementation for the animated length list value. |
class |
SVGOMAnimatedLengthList.BaseSVGLengthList
SVGOMAnimatedLengthList.BaseSVGLengthList implementation for the base length list value. |
Modifier and Type | Field and Description |
---|---|
protected SVGOMAnimatedLengthList.AnimSVGLengthList |
animVal
The animated value.
|
protected SVGOMAnimatedLengthList.BaseSVGLengthList |
baseVal
The base value.
|
protected boolean |
changing
Whether the list is changing.
|
protected java.lang.String |
defaultValue
Default value for the length list.
|
protected short |
direction
The direction of the lengths in this list.
|
protected boolean |
emptyAllowed
Whether empty length lists are allowed.
|
element, hasAnimVal, listeners, localName, namespaceURI
Constructor and Description |
---|
SVGOMAnimatedLengthList(AbstractElement elt,
java.lang.String ns,
java.lang.String ln,
java.lang.String defaultValue,
boolean emptyAllowed,
short direction)
Creates a new SVGOMAnimatedLengthList.
|
Modifier and Type | Method and 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 length list value is malformed.
|
SVGLengthList |
getAnimVal()
DOM: Implements
SVGAnimatedLengthList#getAnimVal() . |
SVGLengthList |
getBaseVal()
DOM: Implements
SVGAnimatedLengthList#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, removeAnimatedAttributeListener
protected SVGOMAnimatedLengthList.BaseSVGLengthList baseVal
protected SVGOMAnimatedLengthList.AnimSVGLengthList animVal
protected boolean changing
protected java.lang.String defaultValue
protected boolean emptyAllowed
protected short direction
public SVGOMAnimatedLengthList(AbstractElement elt, java.lang.String ns, java.lang.String ln, java.lang.String defaultValue, boolean emptyAllowed, short direction)
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 a list with no items is allowed.direction
- The direction of the lengths in the list.public SVGLengthList getBaseVal()
SVGAnimatedLengthList#getBaseVal()
.public SVGLengthList getAnimVal()
SVGAnimatedLengthList#getAnimVal()
.public void check()
public AnimatableValue getUnderlyingValue(AnimationTarget target)
AnimatableValue
.protected void updateAnimatedValue(AnimatableValue val)
AnimatableValue
.updateAnimatedValue
in class AbstractSVGAnimatedValue
public void attrAdded(org.w3c.dom.Attr node, java.lang.String newv)
public void attrModified(org.w3c.dom.Attr node, java.lang.String oldv, java.lang.String newv)
public void attrRemoved(org.w3c.dom.Attr node, java.lang.String oldv)
Copyright ? 2009 Apache Software Foundation. All Rights Reserved.