#include <dom2_views.h>
Public Member Functions | |
AbstractView (const AbstractView &other) | |
AbstractView & | operator= (const AbstractView &other) |
Document | document () const |
CSSStyleDeclaration | getComputedStyle (const Element &elt, const DOMString &pseudoElt) |
AbstractViewImpl * | handle () const |
bool | isNull () const |
Protected Member Functions | |
AbstractView (AbstractViewImpl *i) | |
Protected Attributes | |
AbstractViewImpl * | impl |
Friends | |
class | Event |
class | UIEvent |
class | MouseEvent |
class | MutationEvent |
class | Document |
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.
Constructor & Destructor Documentation
◆ AbstractView() [1/3]
AbstractView::AbstractView | ( | ) |
Definition at line 32 of file dom2_views.cpp.
◆ AbstractView() [2/3]
AbstractView::AbstractView | ( | const AbstractView & | other | ) |
Definition at line 38 of file dom2_views.cpp.
◆ ~AbstractView()
|
virtual |
Definition at line 51 of file dom2_views.cpp.
◆ AbstractView() [3/3]
|
protected |
Definition at line 45 of file dom2_views.cpp.
Member Function Documentation
◆ document()
Document AbstractView::document | ( | ) | const |
The source DocumentView of which this is an AbstractView.
Definition at line 67 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
-
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 75 of file dom2_views.cpp.
◆ handle()
AbstractViewImpl * AbstractView::handle | ( | ) | const |
Definition at line 84 of file dom2_views.cpp.
◆ isNull()
bool AbstractView::isNull | ( | ) | const |
Definition at line 89 of file dom2_views.cpp.
◆ operator=()
AbstractView & AbstractView::operator= | ( | const AbstractView & | other | ) |
Definition at line 57 of file dom2_views.cpp.
Friends And Related Function Documentation
◆ Document
|
friend |
Definition at line 46 of file dom2_views.h.
◆ Event
|
friend |
Definition at line 42 of file dom2_views.h.
◆ MouseEvent
|
friend |
Definition at line 44 of file dom2_views.h.
◆ MutationEvent
|
friend |
Definition at line 45 of file dom2_views.h.
◆ UIEvent
|
friend |
Definition at line 43 of file dom2_views.h.
Member Data Documentation
◆ impl
|
protected |
Definition at line 85 of file dom2_views.h.
The documentation for this class was generated from the following files: