Class SVGOMAnimatedMarkerOrientValue

java.lang.Object
org.apache.batik.anim.dom.AbstractSVGAnimatedValue
org.apache.batik.anim.dom.SVGOMAnimatedMarkerOrientValue
All Implemented Interfaces:
AnimatedLiveAttributeValue, LiveAttributeValue

public class SVGOMAnimatedMarkerOrientValue extends AbstractSVGAnimatedValue
A class that handles an SVGAnimatedAngle and an SVGAnimatedEnumeration for the 'marker' element's 'orient' attribute.
Version:
$Id: SVGOMAnimatedMarkerOrientValue.java 1733416 2016-03-03 07:07:13Z gadams $
  • Field Details

  • Constructor Details

    • SVGOMAnimatedMarkerOrientValue

      public SVGOMAnimatedMarkerOrientValue(AbstractElement elt, String ns, String ln)
      Creates a new SVGOMAnimatedMarkerOrientValue.
      Parameters:
      elt - The associated element.
      ns - The attribute's namespace URI.
      ln - The attribute's local name.
  • Method Details

    • updateAnimatedValue

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

      public AnimatableValue getUnderlyingValue(AnimationTarget target)
      Returns the base value of the attribute as an AnimatableValue.
    • attrAdded

      public void attrAdded(Attr node, String newv)
      Called when an Attr node has been added.
    • attrModified

      public void attrModified(Attr node, String oldv, String newv)
      Called when an Attr node has been modified.
    • attrRemoved

      public void attrRemoved(Attr node, String oldv)
      Called when an Attr node has been removed.
    • setAnimatedValueToAngle

      public void setAnimatedValueToAngle(short unitType, float value)
      Sets the animated value to the given angle.
    • setAnimatedValueToAuto

      public void setAnimatedValueToAuto()
      Sets the animated value to the "auto" value.
    • resetAnimatedValue

      public void resetAnimatedValue()
      Resets the animated value.
    • getAnimatedAngle

      public org.w3c.dom.svg.SVGAnimatedAngle getAnimatedAngle()
      Returns the SVGAnimatedAngle component of the orient value.
    • getAnimatedEnumeration

      public org.w3c.dom.svg.SVGAnimatedEnumeration getAnimatedEnumeration()
      Returns the SVGAnimatedEnumeration component of the orient value.