khtml Library API Documentation

DOM::UIEvent Class Reference

Introduced in DOM Level 2. More...

#include <dom2_events.h>

Inheritance diagram for DOM::UIEvent:

DOM::Event DOM::MouseEvent DOM::TextEvent List of all members.

Public Member Functions

 UIEvent (const UIEvent &other)
 UIEvent (const Event &other)
UIEventoperator= (const UIEvent &other)
UIEventoperator= (const Event &other)
AbstractView view () const
long detail () const
int keyCode () const
int pageX () const
int pageY () const
int layerX () const
int layerY () const
int which () const
void initUIEvent (const DOMString &typeArg, bool canBubbleArg, bool cancelableArg, const AbstractView &viewArg, long detailArg)

Protected Member Functions

 UIEvent (UIEventImpl *impl)

Detailed Description

Introduced in DOM Level 2.

The UIEvent interface provides specific contextual information associated with User Interface events.

Definition at line 300 of file dom2_events.h.


Member Function Documentation

AbstractView UIEvent::view  )  const
 

The view attribute identifies the AbstractView from which the event was generated.

Definition at line 235 of file dom2_events.cpp.

long UIEvent::detail  )  const
 

Specifies some detail information about the Event, depending on the type of event.

Definition at line 243 of file dom2_events.cpp.

int UIEvent::keyCode  )  const
 

IE extension.

Definition at line 251 of file dom2_events.cpp.

int UIEvent::pageX  )  const
 

Netscape extension.

only returns something useful when the mouse was involved. Otherwise its 0

Definition at line 261 of file dom2_events.cpp.

int UIEvent::layerX  )  const
 

Netscape extension.

only returns something useful when the mouse was involved. Otherwise its 0

Definition at line 283 of file dom2_events.cpp.

int UIEvent::which  )  const
 

Non-standard Netscape style "which" extension.

Definition at line 303 of file dom2_events.cpp.

void UIEvent::initUIEvent const DOMString typeArg,
bool  canBubbleArg,
bool  cancelableArg,
const AbstractView viewArg,
long  detailArg
 

The initUIEvent method is used to initialize the value of a UIEvent created through the DocumentEvent interface.

This method may only be called before the UIEvent has been dispatched via the dispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.

Parameters:
typeArg Specifies the event type.
canBubbleArg Specifies whether or not the event can bubble.
cancelableArg Specifies whether or not the event's default action can be prevented.
viewArg Specifies the Event's AbstractView.
detailArg Specifies the Event's detail.

Definition at line 315 of file dom2_events.cpp.


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.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed May 5 07:22:20 2004 by doxygen 1.3.6 written by Dimitri van Heesch, © 1997-2003