KHTML
dom2_events.h
Go to the documentation of this file.
EventException(unsigned short _code)
Definition dom2_events.cpp:180
@ UNSPECIFIED_EVENT_TYPE_ERR
Definition dom2_events.h:286
static bool isEventExceptionCode(int exceptioncode)
Definition dom2_events.cpp:203
virtual void handleEvent(Event &evt)
This method is called whenever an event occurs of the type for which the EventListener interface was ...
Definition dom2_events.cpp:38
virtual DOMString eventListenerType()
Definition dom2_events.cpp:42
PhaseType
An integer indicating which phase of event flow is being processed.
Definition dom2_events.h:139
@ DOM_KEY_LOCATION_LEFT
The key activated is in the left key location (there is more than one possible location for this key)...
Definition dom2_events.h:656
@ DOM_KEY_LOCATION_STANDARD
The key activation is not distinguished as the left or right version of the key, and did not originat...
Definition dom2_events.h:647
@ DOM_KEY_LOCATION_NUMPAD
The key activation originated on the numeric keypad or with a virtual key corresponding to the numeri...
Definition dom2_events.h:672
@ DOM_KEY_LOCATION_RIGHT
The key activated is in the right key location (there is more than one possible location for this key...
Definition dom2_events.h:665
long clientX() const
The horizontal coordinate at which the event occurred relative to the DOM implementation's client are...
Definition dom2_events.cpp:399
bool altKey() const
Used to indicate whether the 'alt' key was depressed during the firing of the event.
Definition dom2_events.cpp:431
long clientY() const
The vertical coordinate at which the event occurred relative to the DOM implementation's client area.
Definition dom2_events.cpp:407
long screenX() const
The horizontal coordinate at which the event occurred relative to the origin of the screen coordinate...
Definition dom2_events.cpp:383
Node relatedTarget() const
Used to identify a secondary EventTarget related to a UI event.
Definition dom2_events.cpp:455
bool shiftKey() const
Used to indicate whether the 'shift' key was depressed during the firing of the event.
Definition dom2_events.cpp:423
bool metaKey() const
Used to indicate whether the 'meta' key was depressed during the firing of the event.
Definition dom2_events.cpp:439
void initMouseEvent(const DOMString &typeArg, bool canBubbleArg, bool cancelableArg, const AbstractView &viewArg, long detailArg, long screenXArg, long screenYArg, long clientXArg, long clientYArg, bool ctrlKeyArg, bool altKeyArg, bool shiftKeyArg, bool metaKeyArg, unsigned short buttonArg, const Node &relatedTargetArg)
The initMouseEvent method is used to initialize the value of a MouseEvent created through the Documen...
Definition dom2_events.cpp:463
unsigned short button() const
During mouse events caused by the depression or release of a mouse button, button is used to indicate...
Definition dom2_events.cpp:447
bool ctrlKey() const
Used to indicate whether the 'ctrl' key was depressed during the firing of the event.
Definition dom2_events.cpp:415
long screenY() const
The vertical coordinate at which the event occurred relative to the origin of the screen coordinate s...
Definition dom2_events.cpp:391
The Node interface is the primary datatype for the entire Document Object Model.
Definition dom_node.h:271
void initTextEvent(const DOMString &typeArg, bool canBubbleArg, bool cancelableArg, const AbstractView &viewArg, const DOMString &dataArg)
initTextEvent The initTextEvent method is used to initialize the value of a TextEvent object and has ...
Definition dom2_events.cpp:525
AbstractView view() const
The view attribute identifies the AbstractView from which the event was generated.
Definition dom2_events.cpp:260
int layerX() const
Non-standard extensions to support Netscape-style layerX and layerY event properties.
Definition dom2_events.cpp:307
long detail() const
Specifies some detail information about the Event, depending on the type of event.
Definition dom2_events.cpp:268
int charCode() const
Non-standard extension to support IE-style charCode event property.
Definition dom2_events.cpp:283
int keyCode() const
Non-standard extension to support IE-style keyCode event property.
Definition dom2_events.cpp:276
int which() const
Non-standard extension to support Netscape-style "which" event property.
Definition dom2_events.cpp:323
void 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...
Definition dom2_events.cpp:329
int pageX() const
Non-standard extensions to support Netscape-style pageX and pageY event properties.
Definition dom2_events.cpp:291
unsigned long long DOMTimeStamp
A DOMTimeStamp represents a number of milliseconds.
Definition dom_node.h:1020
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.