Class AbstractStylableDocument

    • Field Detail

      • defaultView

        protected transient org.w3c.dom.views.AbstractView defaultView
        The default view.
      • cssEngine

        protected transient CSSEngine cssEngine
        The CSS engine.
    • Constructor Detail

      • AbstractStylableDocument

        protected AbstractStylableDocument()
      • AbstractStylableDocument

        protected AbstractStylableDocument​(org.w3c.dom.DocumentType dt,
                                           org.w3c.dom.DOMImplementation impl)
        Creates a new document.
    • Method Detail

      • setCSSEngine

        public void setCSSEngine​(CSSEngine ctx)
        Sets the CSS engine.
      • getCSSEngine

        public CSSEngine getCSSEngine()
        Returns the CSS engine.
      • getStyleSheets

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

        public org.w3c.dom.views.AbstractView getDefaultView()
        DOM: Implements DocumentView.getDefaultView().
        Specified by:
        getDefaultView in interface org.w3c.dom.views.DocumentView
        Returns:
        a ViewCSS object.
      • clearViewCSS

        public void clearViewCSS()
        Clears the view CSS.
      • 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