Class SVGOMSVGElement

    • Constructor Detail

      • SVGOMSVGElement

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

        public SVGOMSVGElement​(java.lang.String prefix,
                               AbstractDocument owner)
        Creates a new SVGOMSVGElement object.
        Parameters:
        prefix - The namespace prefix.
        owner - The owner document.
    • Method Detail

      • getLocalName

        public java.lang.String getLocalName()
        DOM: Implements Node.getLocalName().
        Specified by:
        getLocalName in interface org.w3c.dom.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 java.lang.String getContentScriptType()
        DOM: Implements SVGSVGElement.getContentScriptType().
        Specified by:
        getContentScriptType in interface org.w3c.dom.svg.SVGSVGElement
      • setContentScriptType

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

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

        public void setContentStyleType​(java.lang.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 org.w3c.dom.DOMException
        DOM: Implements SVGSVGElement.setUseCurrentView(boolean).
        Specified by:
        setUseCurrentView in interface org.w3c.dom.svg.SVGSVGElement
        Throws:
        org.w3c.dom.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 org.w3c.dom.DOMException
        DOM: Implements SVGSVGElement.setCurrentScale(float).
        Specified by:
        setCurrentScale in interface org.w3c.dom.svg.SVGSVGElement
        Throws:
        org.w3c.dom.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 org.w3c.dom.DOMException
        DOM: Implements SVGSVGElement.unsuspendRedraw(int).
        Specified by:
        unsuspendRedraw in interface org.w3c.dom.svg.SVGSVGElement
        Throws:
        org.w3c.dom.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 org.w3c.dom.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 org.w3c.dom.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 org.w3c.dom.Element getElementById​(java.lang.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 org.w3c.dom.views.DocumentView getDocument()
        DOM: Implements AbstractView.getDocument().
        Specified by:
        getDocument in interface org.w3c.dom.views.AbstractView
      • getComputedStyle

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

        public Event createEvent​(java.lang.String eventType)
                          throws org.w3c.dom.DOMException
        Specified by:
        createEvent in interface DocumentEvent
        Parameters:
        eventType - The eventType parameter specifies the name of the DOM Events interface to be supported by the created event object, e.g. "Event", "MouseEvent", "MutationEvent" and so on. If the Event is to be dispatched via the EventTarget.dispatchEvent() method the appropriate event init method must be called after creation in order to initialize the Event's values. As an example, a user wishing to synthesize some kind of UIEvent would invoke DocumentEvent.createEvent("UIEvent"). The UIEvent.initUIEventNS() method could then be called on the newly created UIEvent object to set the specific type of user interface event to be dispatched, DOMActivate for example, and set its context information, e.g. UIEvent.detail in this example.

        Note: For backward compatibility reason, "UIEvents", "MouseEvents", "MutationEvents", and "HTMLEvents" feature names are valid values for the parameter eventType and represent respectively the interfaces "UIEvent", "MouseEvent", "MutationEvent", and "Event".

        Returns:
        The newly created event object.
        Throws:
        org.w3c.dom.DOMException - NOT_SUPPORTED_ERR: Raised if the implementation does not support the Event interface requested.
      • canDispatch

        public boolean canDispatch​(java.lang.String namespaceURI,
                                   java.lang.String type)
                            throws org.w3c.dom.DOMException
        DOM: Implements org.w3c.dom.events.DocumentEvent#canDispatch(String,String).
        Specified by:
        canDispatch in interface DocumentEvent
        Parameters:
        namespaceURI - Specifies the Event.namespaceURI of the event.
        type - Specifies the Event.type of the event.
        Returns:
        true if the implementation can generate and dispatch this event type, false otherwise.
        Throws:
        org.w3c.dom.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​(org.w3c.dom.Element elt,
                                                                    java.lang.String pseudoElt)
        DOM: Implements DocumentCSS.getOverrideStyle(Element,String).
        Specified by:
        getOverrideStyle in interface org.w3c.dom.css.DocumentCSS
      • getXMLlang

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

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

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

        public void setXMLspace​(java.lang.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​(java.lang.String extension)
        DOM: Implements SVGTests.hasExtension(String).
        Specified by:
        hasExtension in interface org.w3c.dom.svg.SVGTests
      • newNode

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