dom2_events.h
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:37
PhaseType
An integer indicating which phase of event flow is being processed.
Definition dom2_events.h:133
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:275
DOM::TextEvent The detail attribute inherited from UIEvent is used to indicate the number of keypress...
Definition dom2_events.h:555
void initModifier(unsigned long modifierArg, bool valueArg)
initModifier
Definition dom2_events.cpp:592
void initTextEvent(const DOMString &typeArg, bool canBubbleArg, bool cancelableArg, const AbstractView &viewArg, long detailArg, const DOMString &outputStringArg, unsigned long keyValArg, unsigned long virtKeyValArg, bool inputGeneratedArg, bool numPadArg)
initTextEvent
Definition dom2_events.cpp:529
AbstractView view() const
The view attribute identifies the AbstractView from which the event was generated.
Definition dom2_events.cpp:234
int layerX() const
Non-standard extensions to support Netscape-style layerX and layerY event properties.
Definition dom2_events.cpp:293
long detail() const
Specifies some detail information about the Event, depending on the type of event.
Definition dom2_events.cpp:242
int charCode() const
Non-standard extension to support IE-style charCode event property.
Definition dom2_events.cpp:260
int keyCode() const
Non-standard extension to support IE-style keyCode event property.
Definition dom2_events.cpp:250
int which() const
Non-standard extension to support Netscape-style "which" event property.
Definition dom2_events.cpp:313
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:271
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition design.h:57
unsigned long long DOMTimeStamp
A DOMTimeStamp represents a number of milliseconds.
Definition dom_node.h:987
Trinity API Reference