Search for usage in LXR

#include <dom2_events.h>

Inheritance diagram for DOM::UIEvent:

Public Member Functions

 UIEvent (const Event &other)
 UIEvent (const UIEvent &other)
int charCode () const
long detail () const
void initUIEvent (const DOMString &typeArg, bool canBubbleArg, bool cancelableArg, const AbstractView &viewArg, long detailArg)
int keyCode () const
int layerX () const
int layerY () const
UIEventoperator= (const Event &other)
UIEventoperator= (const UIEvent &other)
int pageX () const
int pageY () const
AbstractView view () const
int which () const
- Public Member Functions inherited from DOM::Event
 Event (const Event &other)
 Event (EventImpl *i)
bool bubbles () const
bool cancelable () const
Node currentTarget () const
unsigned short eventPhase () const
EventImpl * handle () const
void initEvent (const DOMString &eventTypeArg, bool canBubbleArg, bool cancelableArg)
bool isNull () const
Eventoperator= (const Event &other)
void preventDefault ()
void stopPropagation ()
Node target () const
DOMTimeStamp timeStamp () const
DOMString type () const

Protected Member Functions

 UIEvent (UIEventImpl *impl)

Additional Inherited Members

- Public Types inherited from DOM::Event
enum  PhaseType { CAPTURING_PHASE = 1, AT_TARGET = 2, BUBBLING_PHASE = 3 }
- Protected Attributes inherited from DOM::Event
EventImpl * impl

Detailed Description

Introduced in DOM Level 2.

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

Definition at line 310 of file dom2_events.h.

Member Function Documentation

◆ charCode()

int UIEvent::charCode ( ) const

Non-standard extension to support IE-style charCode event property.

Definition at line 310 of file dom2_events.cpp.

◆ detail()

long UIEvent::detail ( ) const

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

Definition at line 292 of file dom2_events.cpp.

◆ initUIEvent()

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.

typeArgSpecifies the event type.
canBubbleArgSpecifies whether or not the event can bubble.
cancelableArgSpecifies whether or not the event's default action can be prevented.
viewArgSpecifies the Event's AbstractView.
detailArgSpecifies the Event's detail.

Definition at line 363 of file dom2_events.cpp.

◆ keyCode()

int UIEvent::keyCode ( ) const

Non-standard extension to support IE-style keyCode event property.

Definition at line 301 of file dom2_events.cpp.

◆ layerX()

int UIEvent::layerX ( ) const

Non-standard extensions to support Netscape-style layerX and layerY event properties.

Definition at line 337 of file dom2_events.cpp.

◆ pageX()

int UIEvent::pageX ( ) const

Non-standard extensions to support Netscape-style pageX and pageY event properties.

Definition at line 319 of file dom2_events.cpp.

◆ view()

AbstractView UIEvent::view ( ) const

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

Definition at line 283 of file dom2_events.cpp.

◆ which()

int UIEvent::which ( ) const

Non-standard extension to support Netscape-style "which" event property.

Definition at line 355 of file dom2_events.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 Sep 27 2023 04:05:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.