khtml Library API Documentation

DOM::AbstractView Class Reference

Introduced in DOM Level 2. More...

#include <dom2_views.h>

List of all members.

Public Methods

Document document () const
 The source DocumentView of which this is an AbstractView.

CSSStyleDeclaration getComputedStyle (const Element &elt, const DOMString &pseudoElt)
 Introduced in DOM Level 2 This method is from the ViewCSS interface.


Detailed Description

Introduced in DOM Level 2.

A base interface that all views shall derive from.

Definition at line 41 of file dom2_views.h.


Member Function Documentation

Document AbstractView::document  
 

The source DocumentView of which this is an AbstractView.

Definition at line 68 of file dom2_views.cpp.

CSSStyleDeclaration AbstractView::getComputedStyle const Element   elt,
const DOMString   pseudoElt
 

Introduced in DOM Level 2 This method is from the ViewCSS interface.

This method is used to get the computed style as it is defined in [CSS2].

Parameters:
elt  The element whose style is to be computed. This parameter cannot be null.
pseudoElt  The pseudo-element or null if none.
Returns:
The computed style. The CSSStyleDeclaration is read-only and contains only absolute values.

Definition at line 76 of file dom2_views.cpp.

References DOM::Node::handle(), and DOM::DOMString::implementation().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:22:45 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001