KHTML
dom2_events.cpp
Go to the documentation of this file.
615 canBubbleArg, cancelableArg, viewArg.handle(), keyIdentifierArg, keyLocationArg, modifiersList);
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
int layerX() const
Non-standard extensions to support Netscape-style layerX and layerY event properties.
Definition: dom2_events.cpp:307
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:270
long detail() const
Specifies some detail information about the Event, depending on the type of event.
Definition: dom2_events.cpp:268
Node target() const
Used to indicate the EventTarget to which the event was originally dispatched.
Definition: dom2_events.cpp:90
void initKeyboardEvent(DOMString typeArg, bool canBubbleArg, bool cancelableArg, AbstractView viewArg, DOMString keyIdentifierArg, unsigned long keyLocationArg, DOMString modifiersList)
initKeyboardEvent
Definition: dom2_events.cpp:606
long clientY() const
The vertical coordinate at which the event occurred relative to the DOM implementation's client area...
Definition: dom2_events.cpp:407
bool bubbles() const
Used to indicate whether or not an event is a bubbling event.
Definition: dom2_events.cpp:118
DOMString keyIdentifier() const
keyIdentifier of type DOMString, readonly
Definition: dom2_events.cpp:571
Node relatedNode() const
relatedNode is used to identify a secondary node related to a mutation event.
Definition: dom2_events.cpp:660
AbstractView view() const
The view attribute identifies the AbstractView from which the event was generated.
Definition: dom2_events.cpp:260
MouseEvent & operator=(const MouseEvent &other)
Definition: dom2_events.cpp:361
int charCode() const
Non-standard extension to support IE-style charCode event property.
Definition: dom2_events.cpp:283
DOMTimeStamp timeStamp() const
Used to specify the time (in milliseconds relative to the epoch) at which the event was created...
Definition: dom2_events.cpp:134
EventException & operator=(const EventException &other)
Definition: dom2_events.cpp:190
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:58
bool ctrlKey() const
Used to indicate whether the 'ctrl' key was depressed during the firing of the event.
Definition: dom2_events.cpp:415
bool cancelable() const
Used to indicate whether or not an event can have its default action prevented.
Definition: dom2_events.cpp:126
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
KeyboardEvent & operator=(const KeyboardEvent &other)
Definition: dom2_events.cpp:549
void preventDefault()
If an event is cancelable, the preventDefault method is used to signify that the event is to be cance...
Definition: dom2_events.cpp:150
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 keyCode() const
Non-standard extension to support IE-style keyCode event property.
Definition: dom2_events.cpp:276
unsigned short eventPhase() const
Used to indicate which phase of event flow is currently being evaluated.
Definition: dom2_events.cpp:110
bool getModifierState(DOMString keyIdentifierArg) const
getModifierState
Definition: dom2_events.cpp:601
bool altKey() const
Used to indicate whether the 'alt' key was depressed during the firing of the event.
Definition: dom2_events.cpp:431
void initMutationEvent(const DOMString &typeArg, bool canBubbleArg, bool cancelableArg, const Node &relatedNodeArg, const DOMString &prevValueArg, const DOMString &newValueArg, const DOMString &attrNameArg, unsigned short attrChangeArg)
The initMutationEvent method is used to initialize the value of a MutationEvent created through the D...
Definition: dom2_events.cpp:700
virtual DOMString eventListenerType()
Definition: dom2_events.cpp:42
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
TextEvent & operator=(const TextEvent &other)
Definition: dom2_events.cpp:503
unsigned short attrChange() const
attrChange indicates the type of change which triggered the DOMAttrModified event.
Definition: dom2_events.cpp:692
void initEvent(const DOMString &eventTypeArg, bool canBubbleArg, bool cancelableArg)
The initEvent method is used to initialize the value of an Event created through the DocumentEvent in...
Definition: dom2_events.cpp:158
DOMString prevValue() const
prevValue indicates the previous value of the Attr node in DOMAttrModified events, and of the CharacterData node in DOMCharDataModified events.
Definition: dom2_events.cpp:668
static bool isEventExceptionCode(int exceptioncode)
Definition: dom2_events.cpp:203
bool metaKey() const
Used to indicate whether the 'meta' key was depressed during the firing of the event.
Definition: dom2_events.cpp:439
DOMString newValue() const
newValue indicates the new value of the Attr node in DOMAttrModified events, and of the CharacterData...
Definition: dom2_events.cpp:676
long screenX() const
The horizontal coordinate at which the event occurred relative to the origin of the screen coordinate...
Definition: dom2_events.cpp:383
int which() const
Non-standard extension to support Netscape-style "which" event property.
Definition: dom2_events.cpp:323
unsigned long keyLocation() const
keyLocation of type unsigned long, readonly
Definition: dom2_events.cpp:576
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
DOMString attrName() const
attrName indicates the name of the changed Attr node in a DOMAttrModified event.
Definition: dom2_events.cpp:684
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 long long DOMTimeStamp
A DOMTimeStamp represents a number of milliseconds.
Definition: dom_node.h:1020
EventException(unsigned short _code)
Definition: dom2_events.cpp:180
Node currentTarget() const
Used to indicate the EventTarget whose EventListeners are currently being processed.
Definition: dom2_events.cpp:100
long clientX() const
The horizontal coordinate at which the event occurred relative to the DOM implementation's client are...
Definition: dom2_events.cpp:399
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
int pageX() const
Non-standard extensions to support Netscape-style pageX and pageY event properties.
Definition: dom2_events.cpp:291
MutationEvent & operator=(const MutationEvent &other)
Definition: dom2_events.cpp:638
void stopPropagation()
The stopPropagation method is used prevent further propagation of an event during event flow...
Definition: dom2_events.cpp:142
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.