Class SVGOMSVGElement

All Implemented Interfaces:
Serializable, AnimationTarget, XMLConstants, CSSNavigableNode, CSSStylableElement, NodeEventTarget, ExtendedNode, ExtendedTraitAccess, TraitAccess, NodeXBL, XBLManagerData, CSSConstants, SVGConstants, ElementTraversal, org.w3c.dom.css.DocumentCSS, org.w3c.dom.css.ViewCSS, Element, DocumentEvent, EventTarget, Node, org.w3c.dom.stylesheets.DocumentStyle, org.w3c.dom.svg.SVGElement, org.w3c.dom.svg.SVGExternalResourcesRequired, org.w3c.dom.svg.SVGFitToViewBox, org.w3c.dom.svg.SVGLangSpace, org.w3c.dom.svg.SVGLocatable, org.w3c.dom.svg.SVGStylable, org.w3c.dom.svg.SVGSVGElement, org.w3c.dom.svg.SVGTests, org.w3c.dom.svg.SVGZoomAndPan, AbstractView

public class SVGOMSVGElement extends SVGStylableElement implements org.w3c.dom.svg.SVGSVGElement
This class implements SVGSVGElement.
See Also:
  • Field Details

  • Constructor Details

    • SVGOMSVGElement

      protected SVGOMSVGElement()
      Creates a new SVGOMSVGElement object.
    • SVGOMSVGElement

      public SVGOMSVGElement(String prefix, AbstractDocument owner)
      Creates a new SVGOMSVGElement 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 SVGStylableElement
    • getLocalName

      public String getLocalName()
      DOM: Implements Node.getLocalName().
      Specified by:
      getLocalName in interface Node
      Overrides:
      getLocalName in class AbstractNode
    • getX

      public org.w3c.dom.svg.SVGAnimatedLength getX()
      DOM: Implements SVGSVGElement.getX().
      Specified by:
      getX in interface org.w3c.dom.svg.SVGSVGElement
    • getY

      public org.w3c.dom.svg.SVGAnimatedLength getY()
      DOM: Implements SVGSVGElement.getY().
      Specified by:
      getY in interface org.w3c.dom.svg.SVGSVGElement
    • getWidth

      public org.w3c.dom.svg.SVGAnimatedLength getWidth()
      DOM: Implements SVGSVGElement.getWidth().
      Specified by:
      getWidth in interface org.w3c.dom.svg.SVGSVGElement
    • getHeight

      public org.w3c.dom.svg.SVGAnimatedLength getHeight()
      DOM: Implements SVGSVGElement.getHeight().
      Specified by:
      getHeight in interface org.w3c.dom.svg.SVGSVGElement
    • getContentScriptType

      public String getContentScriptType()
      DOM: Implements SVGSVGElement.getContentScriptType().
      Specified by:
      getContentScriptType in interface org.w3c.dom.svg.SVGSVGElement
    • setContentScriptType

      public void setContentScriptType(String type)
      DOM: Implements SVGSVGElement.setContentScriptType(String).
      Specified by:
      setContentScriptType in interface org.w3c.dom.svg.SVGSVGElement
    • getContentStyleType

      public String getContentStyleType()
      DOM: Implements SVGSVGElement.getContentStyleType().
      Specified by:
      getContentStyleType in interface org.w3c.dom.svg.SVGSVGElement
    • setContentStyleType

      public void setContentStyleType(String type)
      DOM: Implements SVGSVGElement.setContentStyleType(String).
      Specified by:
      setContentStyleType in interface org.w3c.dom.svg.SVGSVGElement
    • getViewport

      public org.w3c.dom.svg.SVGRect getViewport()
      DOM: Implements SVGSVGElement.getViewport().
      Specified by:
      getViewport in interface org.w3c.dom.svg.SVGSVGElement
    • getPixelUnitToMillimeterX

      public float getPixelUnitToMillimeterX()
      DOM: Implements SVGSVGElement.getPixelUnitToMillimeterX().
      Specified by:
      getPixelUnitToMillimeterX in interface org.w3c.dom.svg.SVGSVGElement
    • getPixelUnitToMillimeterY

      public float getPixelUnitToMillimeterY()
      DOM: Implements SVGSVGElement.getPixelUnitToMillimeterY().
      Specified by:
      getPixelUnitToMillimeterY in interface org.w3c.dom.svg.SVGSVGElement
    • getScreenPixelToMillimeterX

      public float getScreenPixelToMillimeterX()
      DOM: Implements SVGSVGElement.getScreenPixelToMillimeterX().
      Specified by:
      getScreenPixelToMillimeterX in interface org.w3c.dom.svg.SVGSVGElement
    • getScreenPixelToMillimeterY

      public float getScreenPixelToMillimeterY()
      DOM: Implements SVGSVGElement.getScreenPixelToMillimeterY().
      Specified by:
      getScreenPixelToMillimeterY in interface org.w3c.dom.svg.SVGSVGElement
    • getUseCurrentView

      public boolean getUseCurrentView()
      DOM: Implements SVGSVGElement.getUseCurrentView().
      Specified by:
      getUseCurrentView in interface org.w3c.dom.svg.SVGSVGElement
    • setUseCurrentView

      public void setUseCurrentView(boolean useCurrentView) throws DOMException
      DOM: Implements SVGSVGElement.setUseCurrentView(boolean).
      Specified by:
      setUseCurrentView in interface org.w3c.dom.svg.SVGSVGElement
      Throws:
      DOMException
    • getCurrentView

      public org.w3c.dom.svg.SVGViewSpec getCurrentView()
      DOM: Implements SVGSVGElement.getCurrentView().
      Specified by:
      getCurrentView in interface org.w3c.dom.svg.SVGSVGElement
    • getCurrentScale

      public float getCurrentScale()
      DOM: Implements SVGSVGElement.getCurrentView().
      Specified by:
      getCurrentScale in interface org.w3c.dom.svg.SVGSVGElement
    • setCurrentScale

      public void setCurrentScale(float currentScale) throws DOMException
      DOM: Implements SVGSVGElement.setCurrentScale(float).
      Specified by:
      setCurrentScale in interface org.w3c.dom.svg.SVGSVGElement
      Throws:
      DOMException
    • getCurrentTranslate

      public org.w3c.dom.svg.SVGPoint getCurrentTranslate()
      DOM: Implements SVGSVGElement.getCurrentTranslate().
      Specified by:
      getCurrentTranslate in interface org.w3c.dom.svg.SVGSVGElement
    • suspendRedraw

      public int suspendRedraw(int max_wait_milliseconds)
      DOM: Implements SVGSVGElement.suspendRedraw(int).
      Specified by:
      suspendRedraw in interface org.w3c.dom.svg.SVGSVGElement
    • unsuspendRedraw

      public void unsuspendRedraw(int suspend_handle_id) throws DOMException
      DOM: Implements SVGSVGElement.unsuspendRedraw(int).
      Specified by:
      unsuspendRedraw in interface org.w3c.dom.svg.SVGSVGElement
      Throws:
      DOMException
    • unsuspendRedrawAll

      public void unsuspendRedrawAll()
      DOM: Implements SVGSVGElement.unsuspendRedrawAll().
      Specified by:
      unsuspendRedrawAll in interface org.w3c.dom.svg.SVGSVGElement
    • forceRedraw

      public void forceRedraw()
      DOM: Implements SVGSVGElement.forceRedraw().
      Specified by:
      forceRedraw in interface org.w3c.dom.svg.SVGSVGElement
    • pauseAnimations

      public void pauseAnimations()
      DOM: Implements SVGSVGElement.pauseAnimations().
      Specified by:
      pauseAnimations in interface org.w3c.dom.svg.SVGSVGElement
    • unpauseAnimations

      public void unpauseAnimations()
      DOM: Implements SVGSVGElement.unpauseAnimations().
      Specified by:
      unpauseAnimations in interface org.w3c.dom.svg.SVGSVGElement
    • animationsPaused

      public boolean animationsPaused()
      DOM: Implements SVGSVGElement.animationsPaused().
      Specified by:
      animationsPaused in interface org.w3c.dom.svg.SVGSVGElement
    • getCurrentTime

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

      public void setCurrentTime(float seconds)
      DOM: Implements SVGSVGElement.setCurrentTime(float).
      Specified by:
      setCurrentTime in interface org.w3c.dom.svg.SVGSVGElement
    • getIntersectionList

      public NodeList getIntersectionList(org.w3c.dom.svg.SVGRect rect, org.w3c.dom.svg.SVGElement referenceElement)
      DOM: Implements SVGSVGElement.getIntersectionList(SVGRect,SVGElement).
      Specified by:
      getIntersectionList in interface org.w3c.dom.svg.SVGSVGElement
    • getEnclosureList

      public NodeList getEnclosureList(org.w3c.dom.svg.SVGRect rect, org.w3c.dom.svg.SVGElement referenceElement)
      DOM: Implements SVGSVGElement.getEnclosureList(SVGRect,SVGElement).
      Specified by:
      getEnclosureList in interface org.w3c.dom.svg.SVGSVGElement
    • checkIntersection

      public boolean checkIntersection(org.w3c.dom.svg.SVGElement element, org.w3c.dom.svg.SVGRect rect)
      DOM: Implements SVGSVGElement.checkIntersection(SVGElement,SVGRect).
      Specified by:
      checkIntersection in interface org.w3c.dom.svg.SVGSVGElement
    • checkEnclosure

      public boolean checkEnclosure(org.w3c.dom.svg.SVGElement element, org.w3c.dom.svg.SVGRect rect)
      DOM: Implements SVGSVGElement.checkEnclosure(SVGElement,SVGRect).
      Specified by:
      checkEnclosure in interface org.w3c.dom.svg.SVGSVGElement
    • deselectAll

      public void deselectAll()
      DOM: Implements SVGSVGElement.deselectAll().
      Specified by:
      deselectAll in interface org.w3c.dom.svg.SVGSVGElement
    • createSVGNumber

      public org.w3c.dom.svg.SVGNumber createSVGNumber()
      DOM: Implements SVGSVGElement.createSVGNumber().
      Specified by:
      createSVGNumber in interface org.w3c.dom.svg.SVGSVGElement
    • createSVGLength

      public org.w3c.dom.svg.SVGLength createSVGLength()
      DOM: Implements SVGSVGElement.createSVGLength().
      Specified by:
      createSVGLength in interface org.w3c.dom.svg.SVGSVGElement
    • createSVGAngle

      public org.w3c.dom.svg.SVGAngle createSVGAngle()
      DOM: Implements SVGSVGElement.createSVGAngle().
      Specified by:
      createSVGAngle in interface org.w3c.dom.svg.SVGSVGElement
    • createSVGPoint

      public org.w3c.dom.svg.SVGPoint createSVGPoint()
      DOM: Implements SVGSVGElement.createSVGPoint().
      Specified by:
      createSVGPoint in interface org.w3c.dom.svg.SVGSVGElement
    • createSVGMatrix

      public org.w3c.dom.svg.SVGMatrix createSVGMatrix()
      DOM: Implements SVGSVGElement.createSVGMatrix().
      Specified by:
      createSVGMatrix in interface org.w3c.dom.svg.SVGSVGElement
    • createSVGRect

      public org.w3c.dom.svg.SVGRect createSVGRect()
      DOM: Implements SVGSVGElement.createSVGRect().
      Specified by:
      createSVGRect in interface org.w3c.dom.svg.SVGSVGElement
    • createSVGTransform

      public org.w3c.dom.svg.SVGTransform createSVGTransform()
      DOM: Implements SVGSVGElement.createSVGTransform().
      Specified by:
      createSVGTransform in interface org.w3c.dom.svg.SVGSVGElement
    • createSVGTransformFromMatrix

      public org.w3c.dom.svg.SVGTransform createSVGTransformFromMatrix(org.w3c.dom.svg.SVGMatrix matrix)
      DOM: Implements SVGSVGElement.createSVGTransformFromMatrix(SVGMatrix).
      Specified by:
      createSVGTransformFromMatrix in interface org.w3c.dom.svg.SVGSVGElement
    • getElementById

      public Element getElementById(String elementId)
      DOM: Implements SVGSVGElement.getElementById(String).
      Specified by:
      getElementById in interface org.w3c.dom.svg.SVGSVGElement
    • getNearestViewportElement

      public org.w3c.dom.svg.SVGElement getNearestViewportElement()
      DOM: Implements SVGLocatable.getNearestViewportElement().
      Specified by:
      getNearestViewportElement in interface org.w3c.dom.svg.SVGLocatable
    • getFarthestViewportElement

      public org.w3c.dom.svg.SVGElement getFarthestViewportElement()
      DOM: Implements SVGLocatable.getFarthestViewportElement().
      Specified by:
      getFarthestViewportElement in interface org.w3c.dom.svg.SVGLocatable
    • getBBox

      public org.w3c.dom.svg.SVGRect getBBox()
      DOM: Implements SVGLocatable.getBBox().
      Specified by:
      getBBox in interface org.w3c.dom.svg.SVGLocatable
    • getCTM

      public org.w3c.dom.svg.SVGMatrix getCTM()
      DOM: Implements SVGLocatable.getCTM().
      Specified by:
      getCTM in interface org.w3c.dom.svg.SVGLocatable
    • getScreenCTM

      public org.w3c.dom.svg.SVGMatrix getScreenCTM()
      DOM: Implements SVGLocatable.getScreenCTM().
      Specified by:
      getScreenCTM in interface org.w3c.dom.svg.SVGLocatable
    • getTransformToElement

      public org.w3c.dom.svg.SVGMatrix getTransformToElement(org.w3c.dom.svg.SVGElement element) throws org.w3c.dom.svg.SVGException
      DOM: Implements SVGLocatable.getTransformToElement(SVGElement).
      Specified by:
      getTransformToElement in interface org.w3c.dom.svg.SVGLocatable
      Throws:
      org.w3c.dom.svg.SVGException
    • getDocument

      public DocumentView getDocument()
      Specified by:
      getDocument in interface AbstractView
    • getComputedStyle

      public org.w3c.dom.css.CSSStyleDeclaration getComputedStyle(Element elt, String pseudoElt)
      DOM: Implements ViewCSS.getComputedStyle(Element,String).
      Specified by:
      getComputedStyle in interface org.w3c.dom.css.ViewCSS
    • createEvent

      public Event createEvent(String eventType) throws DOMException
      Specified by:
      createEvent in interface DocumentEvent
      Throws:
      DOMException
    • canDispatch

      public boolean canDispatch(String namespaceURI, String type) throws DOMException
      DOM: Implements org.w3c.dom.events.DocumentEvent#canDispatch(String,String).
      Throws:
      DOMException
    • getStyleSheets

      public org.w3c.dom.stylesheets.StyleSheetList getStyleSheets()
      DOM: Implements DocumentStyle.getStyleSheets().
      Specified by:
      getStyleSheets in interface org.w3c.dom.stylesheets.DocumentStyle
    • getOverrideStyle

      public org.w3c.dom.css.CSSStyleDeclaration getOverrideStyle(Element elt, String pseudoElt)
      DOM: Implements DocumentCSS.getOverrideStyle(Element,String).
      Specified by:
      getOverrideStyle in interface org.w3c.dom.css.DocumentCSS
    • getXMLlang

      public String getXMLlang()
      DOM: Returns the xml:lang attribute value.
      Specified by:
      getXMLlang in interface org.w3c.dom.svg.SVGLangSpace
    • setXMLlang

      public void setXMLlang(String lang)
      DOM: Sets the xml:lang attribute value.
      Specified by:
      setXMLlang in interface org.w3c.dom.svg.SVGLangSpace
    • getXMLspace

      public String getXMLspace()
      DOM: Returns the xml:space attribute value.
      Specified by:
      getXMLspace in interface org.w3c.dom.svg.SVGLangSpace
    • setXMLspace

      public void setXMLspace(String space)
      DOM: Sets the xml:space attribute value.
      Specified by:
      setXMLspace in interface org.w3c.dom.svg.SVGLangSpace
    • getZoomAndPan

      public short getZoomAndPan()
      DOM: Implements SVGZoomAndPan.getZoomAndPan().
      Specified by:
      getZoomAndPan in interface org.w3c.dom.svg.SVGZoomAndPan
    • setZoomAndPan

      public void setZoomAndPan(short val)
      DOM: Implements SVGZoomAndPan.getZoomAndPan().
      Specified by:
      setZoomAndPan in interface org.w3c.dom.svg.SVGZoomAndPan
    • getViewBox

      public org.w3c.dom.svg.SVGAnimatedRect getViewBox()
      DOM: Implements SVGFitToViewBox.getViewBox().
      Specified by:
      getViewBox in interface org.w3c.dom.svg.SVGFitToViewBox
    • getPreserveAspectRatio

      public org.w3c.dom.svg.SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
      DOM: Implements SVGFitToViewBox.getPreserveAspectRatio().
      Specified by:
      getPreserveAspectRatio in interface org.w3c.dom.svg.SVGFitToViewBox
    • 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
    • getAttributeInitializer

      protected AttributeInitializer getAttributeInitializer()
      Returns the AttributeInitializer for this element type.
      Overrides:
      getAttributeInitializer in class AbstractElement
      Returns:
      null if this element has no attribute with a default value.
    • newNode

      protected Node newNode()
      Returns a new uninitialized instance of this object's class.
      Specified by:
      newNode in class AbstractNode
    • getTraitInformationTable

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