Class SVGAnimateElementBridge

All Implemented Interfaces:
AnimatableElement, Bridge, BridgeUpdateHandler, GenericBridge, XMLConstants, SVGAnimationContext, SVGContext, CSSConstants, SVGConstants, org.w3c.dom.smil.ElementTimeControl
Direct Known Subclasses:
SVGAnimateColorElementBridge, SVGAnimateMotionElementBridge, SVGAnimateTransformElementBridge

public class SVGAnimateElementBridge extends SVGAnimationElementBridge
Bridge class for the 'animate' animation element.
Version:
$Id: SVGAnimateElementBridge.java 1802297 2017-07-18 13:58:12Z ssteiner $
  • Constructor Details

    • SVGAnimateElementBridge

      public SVGAnimateElementBridge()
  • Method Details

    • getLocalName

      public String getLocalName()
      Returns 'animate'.
    • getInstance

      public Bridge getInstance()
      Returns a new instance of this bridge.
      Specified by:
      getInstance in interface Bridge
      Overrides:
      getInstance in class AbstractSVGBridge
    • createAnimation

      protected AbstractAnimation createAnimation(AnimationTarget target)
      Creates the animation object for the animation element.
      Specified by:
      createAnimation in class SVGAnimationElementBridge
    • parseCalcMode

      protected int parseCalcMode()
      Returns the parsed 'calcMode' attribute from the animation element.
    • parseAdditive

      protected boolean parseAdditive()
      Returns the parsed 'additive' attribute from the animation element.
    • parseAccumulate

      protected boolean parseAccumulate()
      Returns the parsed 'accumulate' attribute from the animation element.
    • parseValues

      protected AnimatableValue[] parseValues()
      Returns the parsed 'values' attribute from the animation element.
    • parseKeyTimes

      protected float[] parseKeyTimes()
      Returns the parsed 'keyTimes' attribute from the animation element.
    • parseKeySplines

      protected float[] parseKeySplines()
      Returns the parsed 'keySplines' attribute from the animation element.
    • getDefaultCalcMode

      protected int getDefaultCalcMode()
      Returns the calcMode that the animation defaults to if none is specified.
    • canAnimateType

      protected boolean canAnimateType(int type)
      Returns whether the animation element being handled by this bridge can animate attributes of the specified type.
      Specified by:
      canAnimateType in class SVGAnimationElementBridge
      Parameters:
      type - one of the TYPE_ constants defined in SVGTypes.