1.7.2.9
Prysm
MouseEvent Interface Reference
+ Inheritance diagram for MouseEvent:

Public Member Functions

void initMouseEvent ([Default=Undefined] optional DOMInternedString typeArg, [Default=Undefined] optional boolean canBubbleArg, [Default=Undefined] optional boolean cancelableArg, [Default=Undefined] optional Window? viewArg, [Default=Undefined] optional long detailArg, [Default=Undefined] optional long screenXArg, [Default=Undefined] optional long screenYArg, [Default=Undefined] optional long clientXArg, [Default=Undefined] optional long clientYArg, [Default=Undefined] optional boolean ctrlKeyArg, [Default=Undefined] optional boolean altKeyArg, [Default=Undefined] optional boolean shiftKeyArg, [Default=Undefined] optional boolean metaKeyArg, [Default=Undefined] optional short buttonArg, [Default=Undefined] optional Node? relatedTargetArg)
 
- Public Member Functions inherited from UIEvent
void initUIEvent ([Default=Undefined] optional DOMInternedString type, [Default=Undefined] optional boolean canBubble, [Default=Undefined] optional boolean cancelable, [Default=Undefined] optional Window? view, [Default=Undefined] optional long detail)
 
- Public Member Functions inherited from Event
void stopPropagation ()
 
void preventDefault ()
 
void initEvent ([Default=Undefined] optional DOMInternedString eventTypeArg, [Default=Undefined] optional boolean canBubbleArg, [Default=Undefined] optional boolean cancelableArg)
 
void stopImmediatePropagation ()
 

Public Attributes

readonly attribute long screenX
 
readonly attribute long screenY
 
readonly attribute long clientX
 
readonly attribute long clientY
 
readonly attribute long x
 
readonly attribute long y
 
readonly attribute boolean ctrlKey
 
readonly attribute boolean shiftKey
 
readonly attribute boolean altKey
 
readonly attribute boolean metaKey
 
readonly attribute short button
 
readonly attribute unsigned short buttons
 
readonly attribute float deltaX
 
readonly attribute float deltaY
 
readonly attribute unsigned short deltaMode
 
readonly attribute EventTarget relatedTarget
 
- Public Attributes inherited from Event
const unsigned short NONE = 0
 
const unsigned short CAPTURING_PHASE = 1
 
const unsigned short AT_TARGET = 2
 
const unsigned short BUBBLING_PHASE = 3
 
readonly attribute DOMString type
 
readonly attribute EventTarget target
 
readonly attribute EventTarget currentTarget
 
readonly attribute unsigned short eventPhase
 
readonly attribute boolean bubbles
 
readonly attribute boolean cancelable
 
readonly attribute boolean defaultPrevented
 

Member Function Documentation

◆ initMouseEvent()

void MouseEvent::initMouseEvent ( [Default=Undefined] optional DOMInternedString  typeArg,
[Default=Undefined] optional boolean  canBubbleArg,
[Default=Undefined] optional boolean  cancelableArg,
[Default=Undefined] optional Window viewArg,
[Default=Undefined] optional long  detailArg,
[Default=Undefined] optional long  screenXArg,
[Default=Undefined] optional long  screenYArg,
[Default=Undefined] optional long  clientXArg,
[Default=Undefined] optional long  clientYArg,
[Default=Undefined] optional boolean  ctrlKeyArg,
[Default=Undefined] optional boolean  altKeyArg,
[Default=Undefined] optional boolean  shiftKeyArg,
[Default=Undefined] optional boolean  metaKeyArg,
[Default=Undefined] optional short  buttonArg,
[Default=Undefined] optional Node relatedTargetArg 
)

Member Data Documentation

◆ altKey

readonly attribute boolean MouseEvent::altKey

◆ button

readonly attribute short MouseEvent::button

◆ buttons

readonly attribute unsigned short MouseEvent::buttons

◆ clientX

readonly attribute long MouseEvent::clientX

◆ clientY

readonly attribute long MouseEvent::clientY

◆ ctrlKey

readonly attribute boolean MouseEvent::ctrlKey

◆ deltaMode

readonly attribute unsigned short MouseEvent::deltaMode

◆ deltaX

readonly attribute float MouseEvent::deltaX

◆ deltaY

readonly attribute float MouseEvent::deltaY

◆ metaKey

readonly attribute boolean MouseEvent::metaKey

◆ relatedTarget

readonly attribute EventTarget MouseEvent::relatedTarget

◆ screenX

readonly attribute long MouseEvent::screenX

◆ screenY

readonly attribute long MouseEvent::screenY

◆ shiftKey

readonly attribute boolean MouseEvent::shiftKey

◆ x

readonly attribute long MouseEvent::x

◆ y

readonly attribute long MouseEvent::y