Class SVGOMAnimatedPoints
java.lang.Object
org.apache.batik.anim.dom.AbstractSVGAnimatedValue
org.apache.batik.anim.dom.SVGOMAnimatedPoints
- All Implemented Interfaces:
AnimatedLiveAttributeValue, LiveAttributeValue, org.w3c.dom.svg.SVGAnimatedPoints
public class SVGOMAnimatedPoints
extends AbstractSVGAnimatedValue
implements org.w3c.dom.svg.SVGAnimatedPoints
This class is the implementation of the SVGAnimatedPoints interface.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classSVGPointListimplementation for the animated point list value.protected classSVGPointListimplementation for the base point list value. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SVGOMAnimatedPoints.AnimSVGPointListThe animated value.protected SVGOMAnimatedPoints.BaseSVGPointListThe base value.protected booleanWhether the list is changing.protected StringDefault value for the point list.Fields inherited from class AbstractSVGAnimatedValue
element, hasAnimVal, listeners, localName, namespaceURI -
Constructor Summary
ConstructorsConstructorDescriptionSVGOMAnimatedPoints(AbstractElement elt, String ns, String ln, String defaultValue) Creates a new SVGOMAnimatedPoints. -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when an Attr node has been added.voidattrModified(Attr node, String oldv, String newv) Called when an Attr node has been modified.voidattrRemoved(Attr node, String oldv) Called when an Attr node has been removed.voidcheck()Throws an exception if the points list value is malformed.org.w3c.dom.svg.SVGPointListDOM: ImplementsSVGAnimatedPoints.getAnimatedPoints().org.w3c.dom.svg.SVGPointListDOM: ImplementsSVGAnimatedPoints.getPoints().getUnderlyingValue(AnimationTarget target) Returns the base value of the attribute as anAnimatableValue.protected voidUpdates the animated value with the givenAnimatableValue.
-
Field Details
-
baseVal
The base value. -
animVal
The animated value. -
changing
protected boolean changingWhether the list is changing. -
defaultValue
Default value for the point list.
-
-
Constructor Details
-
SVGOMAnimatedPoints
Creates a new SVGOMAnimatedPoints.- 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.
-
-
Method Details
-
getPoints
public org.w3c.dom.svg.SVGPointList getPoints()DOM: ImplementsSVGAnimatedPoints.getPoints().- Specified by:
getPointsin interfaceorg.w3c.dom.svg.SVGAnimatedPoints
-
getAnimatedPoints
public org.w3c.dom.svg.SVGPointList getAnimatedPoints()DOM: ImplementsSVGAnimatedPoints.getAnimatedPoints().- Specified by:
getAnimatedPointsin interfaceorg.w3c.dom.svg.SVGAnimatedPoints
-
check
public void check()Throws an exception if the points list value is malformed. -
getUnderlyingValue
Returns the base value of the attribute as anAnimatableValue.- Specified by:
getUnderlyingValuein interfaceAnimatedLiveAttributeValue
-
updateAnimatedValue
Updates the animated value with the givenAnimatableValue.- Specified by:
updateAnimatedValuein classAbstractSVGAnimatedValue
-
attrAdded
Called when an Attr node has been added.- Specified by:
attrAddedin interfaceLiveAttributeValue
-
attrModified
Called when an Attr node has been modified.- Specified by:
attrModifiedin interfaceLiveAttributeValue
-
attrRemoved
Called when an Attr node has been removed.- Specified by:
attrRemovedin interfaceLiveAttributeValue
-