Class SVGAnimationElementImpl

All Implemented Interfaces:
Cloneable, EventTarget, GlobalEventHandlers, HTMLElement, ModelNode, ElementTargetAttributes, ElementTime, ElementTimeControl, SMILAnimation, SMILElement, SVGAnimationElement, SVGElement, SVGExternalResourcesRequired, SVGTests, Element, InnerHTML, Node, NonDocumentTypeChildNode, ParentNode, CSSPropertiesContext, ScriptableDelegate
Direct Known Subclasses:
SVGAnimateElementImpl

public abstract class SVGAnimationElementImpl extends SVGAnimationImpl implements SVGAnimationElement

SVGAnimationElementImpl class.

  • Field Details

  • Constructor Details

    • SVGAnimationElementImpl

      public SVGAnimationElementImpl(String name)

      Constructor for SVGAnimationElementImpl.

      Parameters:
      name - a String object.
  • Method Details

    • getCurrentValue

      public abstract Object getCurrentValue(short animtype)
    • getTargetElement

      public SVGElement getTargetElement()

      getTargetElement.

      Specified by:
      getTargetElement in interface SVGAnimationElement
      Returns:
      a SVGElement object.
    • getStartTime

      public float getStartTime()

      getStartTime.

      Specified by:
      getStartTime in interface SVGAnimationElement
      Returns:
      a float.
    • getCurrentTime

      public float getCurrentTime()

      getCurrentTime.

      Specified by:
      getCurrentTime in interface SVGAnimationElement
      Returns:
      a float.
    • getSimpleDuration

      public float getSimpleDuration()

      getSimpleDuration.

      Specified by:
      getSimpleDuration in interface SVGAnimationElement
      Returns:
      a float.
    • getNumRepeats

      protected float getNumRepeats(float duration)
    • getRepeatForever

      protected boolean getRepeatForever()
    • checkStatus

      protected float checkStatus(float inTime, float startTime, float duration, float numRepeats, boolean repeatForever)
    • getClockSecs

      protected float getClockSecs(String clockVal)
    • setupTimeValueVectors

      protected void setupTimeValueVectors(String calcMode, String values)
    • getSplineValueAt

      protected float getSplineValueAt(int splineIndex, float percent)