Class SVGOMUseElement

    • Constructor Detail

      • SVGOMUseElement

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

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

      • initializeLiveAttributes

        private void initializeLiveAttributes()
        Initializes the live attribute values of this element.
      • 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 SVGUseElement.getX().
        Specified by:
        getX in interface org.w3c.dom.svg.SVGUseElement
      • getY

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

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

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

        public org.w3c.dom.svg.SVGElementInstance getInstanceRoot()
        DOM: Implements SVGUseElement.getInstanceRoot().
        Specified by:
        getInstanceRoot in interface org.w3c.dom.svg.SVGUseElement
      • getAnimatedInstanceRoot

        public org.w3c.dom.svg.SVGElementInstance getAnimatedInstanceRoot()
        DOM: Implements SVGUseElement.getAnimatedInstanceRoot().
        Specified by:
        getAnimatedInstanceRoot in interface org.w3c.dom.svg.SVGUseElement
      • isHiddenFromSelectors

        public boolean isHiddenFromSelectors()
        Returns whether this node is the root of a (conceptual) hidden tree that selectors will not work across. Returns true here, since CSS selectors cannot work in the conceptual cloned sub-tree of the content referenced by the 'use' element.
        Specified by:
        isHiddenFromSelectors in interface CSSNavigableNode
        Overrides:
        isHiddenFromSelectors in class AbstractElement
      • setUseShadowTree

        public void setUseShadowTree​(SVGOMUseShadowRoot r)
        Sets the shadow tree for this 'use' element.
      • newNode

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