org.apache.batik.css.dom

Class CSSOMViewCSS

public class CSSOMViewCSS extends Object implements ViewCSS

This class represents an object which provides the computed styles of the elements of a document.
Field Summary
protected CSSEnginecssEngine
The associated CSS engine.
Constructor Summary
CSSOMViewCSS(CSSEngine engine)
Creates a new ViewCSS.
Method Summary
CSSStyleDeclarationgetComputedStyle(Element elt, String pseudoElt)
DOM: Implements {@link org.w3c.dom.css.ViewCSS#getComputedStyle(Element,String)}.
DocumentViewgetDocument()
DOM: Implements {@link org.w3c.dom.views.AbstractView#getDocument()}.

Field Detail

cssEngine

protected CSSEngine cssEngine
The associated CSS engine.

Constructor Detail

CSSOMViewCSS

public CSSOMViewCSS(CSSEngine engine)
Creates a new ViewCSS.

Method Detail

getComputedStyle

public CSSStyleDeclaration getComputedStyle(Element elt, String pseudoElt)
DOM: Implements {@link org.w3c.dom.css.ViewCSS#getComputedStyle(Element,String)}.

getDocument

public DocumentView getDocument()
DOM: Implements {@link org.w3c.dom.views.AbstractView#getDocument()}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.