Package org.apache.batik.css.dom
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 java.lang.Object implements org.w3c.dom.css.ViewCSS
This class represents an object which provides the computed styles of the elements of a document.
-
-
Constructor Summary
Constructors Constructor Description CSSOMViewCSS(CSSEngine engine)
Creates a new ViewCSS.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.css.CSSStyleDeclaration
getComputedStyle(org.w3c.dom.Element elt, java.lang.String pseudoElt)
DOM: ImplementsViewCSS.getComputedStyle(Element,String)
.org.w3c.dom.views.DocumentView
getDocument()
DOM: ImplementsAbstractView.getDocument()
.
-
-
-
Field Detail
-
cssEngine
protected CSSEngine cssEngine
The associated CSS engine.
-
-
Constructor Detail
-
CSSOMViewCSS
public CSSOMViewCSS(CSSEngine engine)
Creates a new ViewCSS.
-
-
Method Detail
-
getDocument
public org.w3c.dom.views.DocumentView getDocument()
DOM: ImplementsAbstractView.getDocument()
.- Specified by:
getDocument
in interfaceorg.w3c.dom.views.AbstractView
-
getComputedStyle
public org.w3c.dom.css.CSSStyleDeclaration getComputedStyle(org.w3c.dom.Element elt, java.lang.String pseudoElt)
DOM: ImplementsViewCSS.getComputedStyle(Element,String)
.- Specified by:
getComputedStyle
in interfaceorg.w3c.dom.css.ViewCSS
-
-