Class StylableExtensionElement

    • Field Detail

      • cssBase

        protected ParsedURL cssBase
        The base URL.
      • computedStyleMap

        protected StyleMap computedStyleMap
        The computed style map.
    • Constructor Detail

      • StylableExtensionElement

        protected StylableExtensionElement()
        Creates a new Element object.
      • StylableExtensionElement

        protected StylableExtensionElement​(java.lang.String name,
                                           AbstractDocument owner)
        Creates a new Element object.
        Parameters:
        name - The element name, for validation purposes.
        owner - The owner document.
    • Method Detail

      • setComputedStyleMap

        public void setComputedStyleMap​(java.lang.String pseudoElement,
                                        StyleMap sm)
        Sets the computed style of this element/pseudo-element.
        Specified by:
        setComputedStyleMap in interface CSSStylableElement
      • getXMLId

        public java.lang.String getXMLId()
        Returns the ID of this element.
        Specified by:
        getXMLId in interface CSSStylableElement
      • getCSSClass

        public java.lang.String getCSSClass()
        Returns the class of this element.
        Specified by:
        getCSSClass in interface CSSStylableElement
      • isPseudoInstanceOf

        public boolean isPseudoInstanceOf​(java.lang.String pseudoClass)
        Tells whether this element is an instance of the given pseudo class.
        Specified by:
        isPseudoInstanceOf in interface CSSStylableElement
      • getStyle

        public org.w3c.dom.css.CSSStyleDeclaration getStyle()
        DOM: Implements SVGStylable.getStyle().
        Specified by:
        getStyle in interface org.w3c.dom.svg.SVGStylable
      • getPresentationAttribute

        public org.w3c.dom.css.CSSValue getPresentationAttribute​(java.lang.String name)
        DOM: Implements SVGStylable.getPresentationAttribute(String).
        Specified by:
        getPresentationAttribute in interface org.w3c.dom.svg.SVGStylable
      • getClassName

        public org.w3c.dom.svg.SVGAnimatedString getClassName()
        DOM: Implements SVGStylable.getClassName().
        Specified by:
        getClassName in interface org.w3c.dom.svg.SVGStylable