25 #include "xml/dom2_eventsimpl.h"
26 #include "xml/dom_nodeimpl.h"
95 if (
impl->target()->eventTargetType() == EventTargetImpl::DOM_NODE)
96 return static_cast<DOM::NodeImpl*>(
impl->target());
105 if (
impl->currentTarget()->eventTargetType() == EventTargetImpl::DOM_NODE)
106 return static_cast<DOM::NodeImpl*>(
impl->currentTarget());
115 return impl->eventPhase();
123 return impl->bubbles();
131 return impl->cancelable();
139 return impl->timeStamp();
147 impl->stopPropagation(
true);
155 impl->preventDefault(
true);
163 impl->initEvent(eventTypeArg,canBubbleArg,cancelableArg);
212 return DOMString(
"UNSPECIFIED_EVENT_TYPE_ERR" );
214 return DOMString(
"(unknown exception code)" );
265 return static_cast<UIEventImpl*
>(
impl)->
view();
273 return static_cast<UIEventImpl*
>(
impl)->
detail();
296 return static_cast<UIEventImpl*
>(
impl)->
pageX();
304 return static_cast<UIEventImpl*
>(
impl)->
pageY();
312 return static_cast<UIEventImpl*
>(
impl)->
layerX();
320 return static_cast<UIEventImpl*
>(
impl)->
layerY();
326 return static_cast<UIEventImpl*
>(
impl)->
which();
338 static_cast<UIEventImpl*
>(
impl)->
initUIEvent(typeArg,canBubbleArg,cancelableArg,
339 viewArg.
handle(),detailArg);
388 return static_cast<MouseEventImpl*
>(
impl)->
screenX();
396 return static_cast<MouseEventImpl*
>(
impl)->
screenY();
404 return static_cast<MouseEventImpl*
>(
impl)->
clientX();
412 return static_cast<MouseEventImpl*
>(
impl)->
clientY();
420 return static_cast<MouseEventImpl*
>(
impl)->
ctrlKey();
436 return static_cast<MouseEventImpl*
>(
impl)->
altKey();
444 return static_cast<MouseEventImpl*
>(
impl)->
metaKey();
452 return static_cast<MouseEventImpl*
>(
impl)->
button();
476 unsigned short buttonArg,
477 const Node &relatedTargetArg)
483 cancelableArg,viewArg.
handle(),detailArg,screenXArg,screenYArg,clientXArg,
484 clientYArg,ctrlKeyArg,altKeyArg,shiftKeyArg,metaKeyArg,buttonArg,
532 typeArg, canBubbleArg, cancelableArg, viewArg.
handle(), dataArg);
583 return static_cast<const KeyboardEventImpl*
>(
impl)->
ctrlKey();
588 return static_cast<const KeyboardEventImpl*
>(
impl)->
shiftKey();
593 return static_cast<const KeyboardEventImpl*
>(
impl)->
altKey();
598 return static_cast<const KeyboardEventImpl*
>(
impl)->
metaKey();
611 unsigned long keyLocationArg,
615 canBubbleArg, cancelableArg, viewArg.
handle(), keyIdentifierArg, keyLocationArg, modifiersList);
681 return static_cast<MutationEventImpl*
>(
impl)->
newValue();
689 return static_cast<MutationEventImpl*
>(
impl)->
attrName();
703 const Node &relatedNodeArg,
707 unsigned short attrChangeArg)
713 canBubbleArg,cancelableArg,relatedNodeArg,prevValueArg,
714 newValueArg,attrNameArg,attrChangeArg);