Go to the documentation of this file.
47class EventListenerImpl;
51class MutationEventImpl;
84 virtual void handleEvent(
Event &evt);
119 friend class NodeImpl;
120 friend class DocumentImpl;
164 Node currentTarget()
const;
170 unsigned short eventPhase()
const;
177 bool bubbles()
const;
185 bool cancelable()
const;
205 void stopPropagation();
219 void preventDefault();
246 void initEvent(
const DOMString &eventTypeArg,
bool canBubbleArg,
bool cancelableArg);
252 EventImpl *handle()
const;
286 UNSPECIFIED_EVENT_TYPE_ERR = 0,
287 _EXCEPTION_OFFSET = 3000,
288 _EXCEPTION_MAX = 3999
297 static DOMString codeAsString(
int cssCode);
300 static bool isEventExceptionCode(
int exceptioncode);
345 int charCode()
const;
387 void initUIEvent(
const DOMString &typeArg,
431 long screenX()
const;
438 long screenY()
const;
445 long clientX()
const;
452 long clientY()
const;
458 bool ctrlKey()
const;
465 bool shiftKey()
const;
481 bool metaKey()
const;
493 unsigned short button()
const;
502 Node relatedTarget()
const;
543 void initMouseEvent(
const DOMString &typeArg,
556 unsigned short buttonArg,
557 const Node &relatedTargetArg);
595 void initTextEvent(
const DOMString &typeArg,
647 DOM_KEY_LOCATION_STANDARD = 0x00,
656 DOM_KEY_LOCATION_LEFT = 0x01,
665 DOM_KEY_LOCATION_RIGHT = 0x02,
672 DOM_KEY_LOCATION_NUMPAD = 0x03
691 unsigned long keyLocation()
const;
698 bool ctrlKey()
const;
705 bool shiftKey()
const;
719 bool metaKey()
const;
735 bool getModifierState(
DOMString keyIdentifierArg)
const;
761 void initKeyboardEvent(
DOMString typeArg,
766 unsigned long keyLocationArg,
814 Node relatedNode()
const;
844 unsigned short attrChange()
const;
871 void initMutationEvent(
const DOMString &typeArg,
874 const Node &relatedNodeArg,
878 unsigned short attrChangeArg);
Introduced in DOM Level 2.
This class implements the basic string we use in the DOM.
The Document interface represents the entire HTML or XML document.
Introduced in DOM Level 2:
EventExceptionCode
An integer indicating the type of error generated.
virtual ~EventException()
Introduced in DOM Level 2.
Introduced in DOM Level 2.
PhaseType
An integer indicating which phase of event flow is being processed.
Introduced in DOM Level 3.
Introduced in DOM Level 2.
Introduced in DOM Level 2.
attrChangeType
An integer indicating in which way the Attr was changed.
The Node interface is the primary datatype for the entire Document Object Model.
Introduced in DOM Level 3.
DOMString data() const
data of type DOMString, readonly
Introduced in DOM Level 2.
This library provides a full-featured HTML parser and widget.
unsigned long long DOMTimeStamp
A DOMTimeStamp represents a number of milliseconds.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by
doxygen 1.11.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.