org.apache.batik.dom.svg
public class SVGOMAnimatedLengthList extends AbstractSVGAnimatedValue implements SVGAnimatedLengthList
Nested Class Summary | |
---|---|
protected class | SVGOMAnimatedLengthList.AnimSVGLengthList
{@link SVGLengthList} implementation for the animated length list value. |
class | SVGOMAnimatedLengthList.BaseSVGLengthList
{@link SVGLengthList} implementation for the base length list value. |
Field Summary | |
---|---|
protected SVGOMAnimatedLengthList.AnimSVGLengthList | animVal
The animated value. |
protected SVGOMAnimatedLengthList.BaseSVGLengthList | baseVal
The base value. |
protected boolean | changing
Whether the list is changing. |
protected 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. |
Constructor Summary | |
---|---|
SVGOMAnimatedLengthList(AbstractElement elt, String ns, String ln, String defaultValue, boolean emptyAllowed, short direction)
Creates a new SVGOMAnimatedLengthList. |
Method Summary | |
---|---|
void | attrAdded(Attr node, String newv)
Called when an Attr node has been added. |
void | attrModified(Attr node, String oldv, String newv)
Called when an Attr node has been modified. |
void | attrRemoved(Attr node, String oldv)
Called when an Attr node has been removed. |
SVGLengthList | getAnimVal()
DOM: Implements {@link SVGAnimatedLengthList#getAnimVal()}. |
SVGLengthList | getBaseVal()
DOM: Implements {@link SVGAnimatedLengthList#getBaseVal()}. |
AnimatableValue | getUnderlyingValue(AnimationTarget target)
Returns the base value of the attribute as an {@link AnimatableValue}. |
protected void | updateAnimatedValue(AnimatableValue val)
Updates the animated value with the given {@link AnimatableValue}. |
Parameters: 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.