khtml Library API Documentation

KJS::DOMNode Class Reference

Inheritance diagram for KJS::DOMNode:

KJS::DOMObject KJS::DOMAttr KJS::DOMCharacterData KJS::DOMDocument KJS::DOMDocumentType KJS::DOMElement KJS::DOMEntity KJS::DOMNotation KJS::DOMProcessingInstruction List of all members.

Public Types

enum  {
  NodeName, NodeValue, NodeType, ParentNode,
  ParentElement, ChildNodes, FirstChild, LastChild,
  PreviousSibling, NextSibling, Item, Attributes,
  NamespaceURI, Prefix, LocalName, OwnerDocument,
  InsertBefore, ReplaceChild, RemoveChild, AppendChild,
  HasAttributes, HasChildNodes, CloneNode, Normalize,
  IsSupported, AddEventListener, RemoveEventListener, DispatchEvent,
  Contains, InsertAdjacentHTML, OnAbort, OnBlur,
  OnChange, OnClick, OnDblClick, OnDragDrop,
  OnError, OnFocus, OnKeyDown, OnKeyPress,
  OnKeyUp, OnLoad, OnMouseDown, OnMouseMove,
  OnMouseOut, OnMouseOver, OnMouseUp, OnMove,
  OnReset, OnResize, OnSelect, OnSubmit,
  OnUnload, OffsetLeft, OffsetTop, OffsetWidth,
  OffsetHeight, OffsetParent, ClientWidth, ClientHeight,
  ScrollLeft, ScrollTop, ScrollWidth, ScrollHeight,
  SourceIndex
}

Public Member Functions

 DOMNode (ExecState *exec, const DOM::Node &n)
 DOMNode (const Object &proto, const DOM::Node &n)
 ~DOMNode ()
virtual bool toBoolean (ExecState *) const
virtual Value tryGet (ExecState *exec, const Identifier &propertyName) const
Value getValueProperty (ExecState *exec, int token) const
virtual void tryPut (ExecState *exec, const Identifier &propertyName, const Value &value, int attr=None)
void putValueProperty (ExecState *exec, int token, const Value &value, int attr)
virtual DOM::Node toNode () const
virtual const ClassInfo * classInfo () const
virtual Value toPrimitive (ExecState *exec, Type preferred=UndefinedType) const
virtual UString toString (ExecState *exec) const
void setListener (ExecState *exec, int eventId, const Value &func) const
Value getListener (int eventId) const
virtual void pushEventHandlerScope (ExecState *exec, ScopeChain &scope) const

Static Public Attributes

static const ClassInfo info = { "Node", 0, &DOMNodeTable, 0 }

Protected Attributes

DOM::Node node

Detailed Description

Definition at line 34 of file kjs_dom.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for khtml Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Jan 23 19:35:58 2006 by doxygen 1.4.3 written by Dimitri van Heesch, © 1997-2003