DOM::AbstractView

Search for usage in LXR

#include <dom2_views.h>

Public Member Functions

 AbstractView (const AbstractView &other)
 
Document document () const
 
CSSStyleDeclaration getComputedStyle (const Element &elt, const DOMString &pseudoElt)
 
AbstractViewImpl * handle () const
 
bool isNull () const
 
AbstractViewoperator= (const AbstractView &other)
 

Protected Member Functions

 AbstractView (AbstractViewImpl *i)
 

Protected Attributes

AbstractViewImpl * impl
 

Detailed Description

Introduced in DOM Level 2.

A base interface that all views shall derive from.

Definition at line 42 of file dom2_views.h.

Member Function Documentation

◆ document()

Document AbstractView::document ( ) const

The source DocumentView of which this is an AbstractView.

Definition at line 73 of file dom2_views.cpp.

◆ getComputedStyle()

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
eltThe element whose style is to be computed. This parameter cannot be null.
pseudoEltThe pseudo-element or null if none.
Returns
The computed style. The CSSStyleDeclaration is read-only and contains only absolute values.

Definition at line 82 of file dom2_views.cpp.

◆ handle()

AbstractViewImpl * AbstractView::handle ( ) const

not part of the DOM

Definition at line 91 of file dom2_views.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 04:09:12 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.