Class CSSOMViewCSS

java.lang.Object
org.apache.batik.css.dom.CSSOMViewCSS
All Implemented Interfaces:
org.w3c.dom.css.ViewCSS, org.w3c.dom.views.AbstractView
Direct Known Subclasses:
CSSOMSVGViewCSS

public class CSSOMViewCSS extends Object implements org.w3c.dom.css.ViewCSS
This class represents an object which provides the computed styles of the elements of a document.
  • Field Details

    • cssEngine

      protected CSSEngine cssEngine
      The associated CSS engine.
  • Constructor Details

    • CSSOMViewCSS

      public CSSOMViewCSS(CSSEngine engine)
      Creates a new ViewCSS.
  • Method Details

    • 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(Element elt, String pseudoElt)
      DOM: Implements ViewCSS.getComputedStyle(Element,String).
      Specified by:
      getComputedStyle in interface org.w3c.dom.css.ViewCSS