public class SVGOMAnimatedPoints extends AbstractSVGAnimatedValue implements org.w3c.dom.svg.SVGAnimatedPoints
Modifier and Type | Class and Description |
---|---|
protected class |
SVGOMAnimatedPoints.AnimSVGPointList
SVGPointList implementation for the animated point list value. |
protected class |
SVGOMAnimatedPoints.BaseSVGPointList
SVGPointList implementation for the base point list value. |
Modifier and Type | Field and Description |
---|---|
protected SVGOMAnimatedPoints.AnimSVGPointList |
animVal
The animated value.
|
protected SVGOMAnimatedPoints.BaseSVGPointList |
baseVal
The base value.
|
protected boolean |
changing
Whether the list is changing.
|
protected java.lang.String |
defaultValue
Default value for the point list.
|
element, hasAnimVal, listeners, localName, namespaceURI
Constructor and Description |
---|
SVGOMAnimatedPoints(AbstractElement elt,
java.lang.String ns,
java.lang.String ln,
java.lang.String defaultValue)
Creates a new SVGOMAnimatedPoints.
|
Modifier and Type | Method and Description |
---|---|
void |
attrAdded(Attr node,
java.lang.String newv)
Called when an Attr node has been added.
|
void |
attrModified(Attr node,
java.lang.String oldv,
java.lang.String newv)
Called when an Attr node has been modified.
|
void |
attrRemoved(Attr node,
java.lang.String oldv)
Called when an Attr node has been removed.
|
void |
check()
Throws an exception if the points list value is malformed.
|
org.w3c.dom.svg.SVGPointList |
getAnimatedPoints()
DOM: Implements
SVGAnimatedPoints.getAnimatedPoints() . |
org.w3c.dom.svg.SVGPointList |
getPoints()
DOM: Implements
SVGAnimatedPoints.getPoints() . |
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 SVGOMAnimatedPoints.BaseSVGPointList baseVal
protected SVGOMAnimatedPoints.AnimSVGPointList animVal
protected boolean changing
protected java.lang.String defaultValue
public SVGOMAnimatedPoints(AbstractElement elt, java.lang.String ns, java.lang.String ln, java.lang.String defaultValue)
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.public org.w3c.dom.svg.SVGPointList getPoints()
SVGAnimatedPoints.getPoints()
.getPoints
in interface org.w3c.dom.svg.SVGAnimatedPoints
public org.w3c.dom.svg.SVGPointList getAnimatedPoints()
SVGAnimatedPoints.getAnimatedPoints()
.getAnimatedPoints
in interface org.w3c.dom.svg.SVGAnimatedPoints
public void check()
public AnimatableValue getUnderlyingValue(AnimationTarget target)
AnimatableValue
.getUnderlyingValue
in interface AnimatedLiveAttributeValue
protected void updateAnimatedValue(AnimatableValue val)
AnimatableValue
.updateAnimatedValue
in class AbstractSVGAnimatedValue
public void attrAdded(Attr node, java.lang.String newv)
attrAdded
in interface LiveAttributeValue
public void attrModified(Attr node, java.lang.String oldv, java.lang.String newv)
attrModified
in interface LiveAttributeValue
public void attrRemoved(Attr node, java.lang.String oldv)
attrRemoved
in interface LiveAttributeValue
Copyright © 2022 Apache Software Foundation. All Rights Reserved.