# class AbstractView

###

Module | khtml
Namespace | DOM
Class | AbstractView
Inherits |

Introduced in DOM Level 2

A base interface that all views shall derive from.

### methods

- AbstractView ( )

  returns ctor

- AbstractView (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.AbstractView |

- AbstractView (i)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  i | AbstractViewImpl |

- document ( )

  returns DOM.Document

  The source DocumentView of which this is an AbstractView.

- getComputedStyle (elt, pseudoElt)

  returns DOM.CSSStyleDeclaration

  Argument | Type | Default
  --- | --- | ---
  elt | DOM.Element |
  pseudoElt | DOM.DOMString |

  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].

  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.

- handle ( )

  returns AbstractViewImpl
  Not implemented

  Internal not part of the DOM

- isNull ( )

  returns bool