Class SVGOMAnimationElement

All Implemented Interfaces:
Serializable, AnimationTarget, XMLConstants, CSSNavigableNode, NodeEventTarget, ExtendedNode, ExtendedTraitAccess, TraitAccess, NodeXBL, XBLManagerData, CSSConstants, SVGConstants, ElementTraversal, Element, EventTarget, Node, org.w3c.dom.smil.ElementTimeControl, org.w3c.dom.svg.SVGAnimationElement, org.w3c.dom.svg.SVGElement, org.w3c.dom.svg.SVGExternalResourcesRequired, org.w3c.dom.svg.SVGTests
Direct Known Subclasses:
SVGOMAnimateColorElement, SVGOMAnimateElement, SVGOMAnimateMotionElement, SVGOMAnimateTransformElement, SVGOMSetElement

public abstract class SVGOMAnimationElement extends SVGOMElement implements org.w3c.dom.svg.SVGAnimationElement
This class provides an implementation of the SVGAnimationElement interface.
See Also:
  • Field Details

    • xmlTraitInformation

      protected static DoublyIndexedTable xmlTraitInformation
      Table mapping XML attribute names to TraitInformation objects.
    • externalResourcesRequired

      protected SVGOMAnimatedBoolean externalResourcesRequired
      The 'externalResourcesRequired' attribute value.
  • Constructor Details

    • SVGOMAnimationElement

      protected SVGOMAnimationElement()
      Creates a new SVGOMAnimationElement.
    • SVGOMAnimationElement

      protected SVGOMAnimationElement(String prefix, AbstractDocument owner)
      Creates a new SVGOMAnimationElement object.
      Parameters:
      prefix - The namespace prefix.
      owner - The owner document.
  • Method Details

    • initializeAllLiveAttributes

      protected void initializeAllLiveAttributes()
      Initializes all live attributes for this element.
      Overrides:
      initializeAllLiveAttributes in class SVGOMElement
    • getTargetElement

      public org.w3c.dom.svg.SVGElement getTargetElement()
      DOM: Implements SVGAnimationElement.getTargetElement().
      Specified by:
      getTargetElement in interface org.w3c.dom.svg.SVGAnimationElement
    • getStartTime

      public float getStartTime()
      DOM: Implements SVGAnimationElement.getStartTime().
      Specified by:
      getStartTime in interface org.w3c.dom.svg.SVGAnimationElement
    • getCurrentTime

      public float getCurrentTime()
      DOM: Implements SVGAnimationElement.getCurrentTime().
      Specified by:
      getCurrentTime in interface org.w3c.dom.svg.SVGAnimationElement
    • getSimpleDuration

      public float getSimpleDuration() throws DOMException
      DOM: Implements SVGAnimationElement.getSimpleDuration().
      Specified by:
      getSimpleDuration in interface org.w3c.dom.svg.SVGAnimationElement
      Throws:
      DOMException
    • getHyperlinkBeginTime

      public float getHyperlinkBeginTime()
      Returns the time that the document would seek to if this animation element were hyperlinked to, or NaN if there is no such begin time.
    • beginElement

      public boolean beginElement() throws DOMException
      DOM: Implements ElementTimeControl.beginElement().
      Specified by:
      beginElement in interface org.w3c.dom.smil.ElementTimeControl
      Throws:
      DOMException
    • beginElementAt

      public boolean beginElementAt(float offset) throws DOMException
      DOM: Implements ElementTimeControl.beginElementAt(float).
      Specified by:
      beginElementAt in interface org.w3c.dom.smil.ElementTimeControl
      Throws:
      DOMException
    • endElement

      public boolean endElement() throws DOMException
      DOM: Implements ElementTimeControl.endElement().
      Specified by:
      endElement in interface org.w3c.dom.smil.ElementTimeControl
      Throws:
      DOMException
    • endElementAt

      public boolean endElementAt(float offset) throws DOMException
      DOM: Implements ElementTimeControl.endElementAt(float).
      Specified by:
      endElementAt in interface org.w3c.dom.smil.ElementTimeControl
      Throws:
      DOMException
    • getExternalResourcesRequired

      public org.w3c.dom.svg.SVGAnimatedBoolean getExternalResourcesRequired()
      DOM: Implements SVGExternalResourcesRequired.getExternalResourcesRequired().
      Specified by:
      getExternalResourcesRequired in interface org.w3c.dom.svg.SVGExternalResourcesRequired
    • getRequiredFeatures

      public org.w3c.dom.svg.SVGStringList getRequiredFeatures()
      DOM: Implements SVGTests.getRequiredFeatures().
      Specified by:
      getRequiredFeatures in interface org.w3c.dom.svg.SVGTests
    • getRequiredExtensions

      public org.w3c.dom.svg.SVGStringList getRequiredExtensions()
      DOM: Implements SVGTests.getRequiredExtensions().
      Specified by:
      getRequiredExtensions in interface org.w3c.dom.svg.SVGTests
    • getSystemLanguage

      public org.w3c.dom.svg.SVGStringList getSystemLanguage()
      DOM: Implements SVGTests.getSystemLanguage().
      Specified by:
      getSystemLanguage in interface org.w3c.dom.svg.SVGTests
    • hasExtension

      public boolean hasExtension(String extension)
      DOM: Implements SVGTests.hasExtension(String).
      Specified by:
      hasExtension in interface org.w3c.dom.svg.SVGTests
    • getTraitInformationTable

      protected DoublyIndexedTable getTraitInformationTable()
      Returns the table of TraitInformation objects for this element.
      Overrides:
      getTraitInformationTable in class SVGOMElement