Interface SMILAnimation

All Superinterfaces:
Element, ElementTargetAttributes, ElementTime, ElementTimeControl, EventTarget, InnerHTML, Node, NonDocumentTypeChildNode, ParentNode, SMILElement
All Known Subinterfaces:
SMILAnimateColorElement, SMILAnimateElement, SMILAnimateMotionElement
All Known Implementing Classes:
SVGAnimateElementImpl, SVGAnimateTransformElementImpl, SVGAnimationElementImpl, SVGAnimationImpl

public interface SMILAnimation extends SMILElement, ElementTargetAttributes, ElementTime, ElementTimeControl
This interface define the set of animation extensions for SMIL. The attributes will go in a XLink interface.
  • Field Details

    • ADDITIVE_REPLACE

      static final short ADDITIVE_REPLACE
      Constant ADDITIVE_REPLACE=0
      See Also:
    • ADDITIVE_SUM

      static final short ADDITIVE_SUM
      Constant ADDITIVE_SUM=1
      See Also:
    • CALCMODE_DISCRETE

      static final short CALCMODE_DISCRETE
      Constant CALCMODE_DISCRETE=0
      See Also:
    • CALCMODE_LINEAR

      static final short CALCMODE_LINEAR
      Constant CALCMODE_LINEAR=1
      See Also:
    • CALCMODE_PACED

      static final short CALCMODE_PACED
      Constant CALCMODE_PACED=2
      See Also:
    • CALCMODE_SPLINE

      static final short CALCMODE_SPLINE
      Constant CALCMODE_SPLINE=3
      See Also:
    • ACCUMULATE_NONE

      static final short ACCUMULATE_NONE
      Constant ACCUMULATE_NONE=0
      See Also:
    • ACCUMULATE_SUM

      static final short ACCUMULATE_SUM
      Constant ACCUMULATE_SUM=1
      See Also:
  • Method Details

    • getAdditive

      default short getAdditive()
      A code representing the value of the additive attribute, as defined above. Default value is ADDITIVE_REPLACE .
      Returns:
      a short.
      Throws:
      DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
    • setAdditive

      default void setAdditive(short additive)

      setAdditive.

      Parameters:
      additive - a short.
    • getAccumulate

      default short getAccumulate()
      A code representing the value of the accumulate attribute, as defined above. Default value is ACCUMULATE_NONE .
      Returns:
      a short.
      Throws:
      DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
    • setAccumulate

      default void setAccumulate(short accumulate)

      setAccumulate.

      Parameters:
      accumulate - a short.
    • getCalcMode

      default short getCalcMode()
      A code representing the value of the calcMode attribute, as defined above.
      Returns:
      a short.
      Throws:
      DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
    • setCalcMode

      default void setCalcMode(short calcMode)

      setCalcMode.

      Parameters:
      calcMode - a short.
    • getKeySplines

      default String getKeySplines()
      A DOMString representing the value of the keySplines attribute. Need an interface a point (x1,y1,x2,y2)
      Returns:
      a String object.
      Throws:
      DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
    • setKeySplines

      default void setKeySplines(String keySplines)

      setKeySplines.

      Parameters:
      keySplines - a String object.
    • getKeyTimes

      default TimeList getKeyTimes()
      A list of the time value of the keyTimes attribute.
      Returns:
      a TimeList object.
      Throws:
      DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
    • setKeyTimes

      default void setKeyTimes(TimeList keyTimes)

      setKeyTimes.

      Parameters:
      keyTimes - a TimeList object.
    • getValues

      String getValues()
      A DOMString representing the value of the values attribute.
      Returns:
      a String object.
      Throws:
      DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
    • setValues

      void setValues(String values) throws DOMException

      setValues.

      Parameters:
      values - a String object.
      Throws:
      DOMException - if any.
    • getFrom

      String getFrom()
      A DOMString representing the value of the from attribute.
      Returns:
      a String object.
      Throws:
      DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
    • setFrom

      void setFrom(String from) throws DOMException

      setFrom.

      Parameters:
      from - a String object.
      Throws:
      DOMException - if any.
    • getTo

      String getTo()
      A DOMString representing the value of the to attribute.
      Returns:
      a String object.
      Throws:
      DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
    • setTo

      void setTo(String to) throws DOMException

      setTo.

      Parameters:
      to - a String object.
      Throws:
      DOMException - if any.
    • getBy

      String getBy()
      A DOMString representing the value of the by attribute.
      Returns:
      a String object.
      Throws:
      DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
    • setBy

      void setBy(String by) throws DOMException

      setBy.

      Parameters:
      by - a String object.
      Throws:
      DOMException - if any.