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.
Version:
$Id: SVGOMAnimatedPoints.java 1804130 2017-08-04 14:41:11Z ssteiner $
  • Field Details

  • Constructor Details

    • SVGOMAnimatedPoints

      public SVGOMAnimatedPoints(AbstractElement elt, String ns, String ln, String defaultValue)
      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: Implements SVGAnimatedPoints.getPoints().
      Specified by:
      getPoints in interface org.w3c.dom.svg.SVGAnimatedPoints
    • getAnimatedPoints

      public org.w3c.dom.svg.SVGPointList getAnimatedPoints()
      DOM: Implements SVGAnimatedPoints.getAnimatedPoints().
      Specified by:
      getAnimatedPoints in interface org.w3c.dom.svg.SVGAnimatedPoints
    • check

      public void check()
      Throws an exception if the points list value is malformed.
    • getUnderlyingValue

      public AnimatableValue getUnderlyingValue(AnimationTarget target)
      Returns the base value of the attribute as an AnimatableValue.
      Specified by:
      getUnderlyingValue in interface AnimatedLiveAttributeValue
    • updateAnimatedValue

      protected void updateAnimatedValue(AnimatableValue val)
      Updates the animated value with the given AnimatableValue.
      Specified by:
      updateAnimatedValue in class AbstractSVGAnimatedValue
    • attrAdded

      public void attrAdded(Attr node, String newv)
      Called when an Attr node has been added.
      Specified by:
      attrAdded in interface LiveAttributeValue
    • attrModified

      public void attrModified(Attr node, String oldv, String newv)
      Called when an Attr node has been modified.
      Specified by:
      attrModified in interface LiveAttributeValue
    • attrRemoved

      public void attrRemoved(Attr node, String oldv)
      Called when an Attr node has been removed.
      Specified by:
      attrRemoved in interface LiveAttributeValue