nsgenbind
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
MouseEvent Interface Reference

import <html.idl;

Inheritance diagram for MouseEvent:
UIEvent Event DragEvent WheelEvent

Public Member Functions

boolean getModifierState (DOMString keyArg)
 
void initMouseEvent (DOMString typeArg, boolean bubblesArg, boolean cancelableArg, Window? viewArg, long detailArg, long screenXArg, long screenYArg, long clientXArg, long clientYArg, boolean ctrlKeyArg, boolean altKeyArg, boolean shiftKeyArg, boolean metaKeyArg, short buttonArg, EventTarget? relatedTargetArg)
 
- Public Member Functions inherited from UIEvent
void initUIEvent (DOMString typeArg, boolean bubblesArg, boolean cancelableArg, Window? viewArg, long detailArg)
 
- Public Member Functions inherited from Event
void stopPropagation ()
 
void stopImmediatePropagation ()
 
void preventDefault ()
 
void initEvent (DOMString type, boolean bubbles, boolean cancelable)
 

Public Attributes

readonly attribute DOMString region
 
readonly attribute long screenX
 
readonly attribute long screenY
 
readonly attribute long clientX
 
readonly attribute long clientY
 
readonly attribute boolean ctrlKey
 
readonly attribute boolean shiftKey
 
readonly attribute boolean altKey
 
readonly attribute boolean metaKey
 
readonly attribute short button
 
readonly attribute EventTarget relatedTarget
 
readonly attribute unsigned short buttons
 
- Public Attributes inherited from UIEvent
readonly attribute Window view
 
readonly attribute long detail
 
- Public Attributes inherited from Event
readonly attribute DOMString type
 
readonly attribute EventTarget target
 
readonly attribute EventTarget currentTarget
 
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 unsigned short eventPhase
 
readonly attribute boolean bubbles
 
readonly attribute boolean cancelable
 
readonly attribute boolean defaultPrevented
 
readonly attribute boolean isTrusted
 
readonly attribute DOMTimeStamp timeStamp
 

Detailed Description

Definition at line 1344 of file html.idl.

Member Function Documentation

◆ getModifierState()

boolean MouseEvent::getModifierState ( DOMString  keyArg)

◆ initMouseEvent()

void MouseEvent::initMouseEvent ( DOMString  typeArg,
boolean  bubblesArg,
boolean  cancelableArg,
Window viewArg,
long  detailArg,
long  screenXArg,
long  screenYArg,
long  clientXArg,
long  clientYArg,
boolean  ctrlKeyArg,
boolean  altKeyArg,
boolean  shiftKeyArg,
boolean  metaKeyArg,
short  buttonArg,
EventTarget relatedTargetArg 
)

Member Data Documentation

◆ altKey

readonly attribute boolean MouseEvent::altKey

Definition at line 33 of file uievents.idl.

◆ button

readonly attribute short MouseEvent::button

Definition at line 35 of file uievents.idl.

◆ buttons

readonly attribute unsigned short MouseEvent::buttons

Definition at line 38 of file uievents.idl.

◆ clientX

readonly attribute long MouseEvent::clientX

Definition at line 29 of file uievents.idl.

◆ clientY

readonly attribute long MouseEvent::clientY

Definition at line 30 of file uievents.idl.

◆ ctrlKey

readonly attribute boolean MouseEvent::ctrlKey

Definition at line 31 of file uievents.idl.

◆ metaKey

readonly attribute boolean MouseEvent::metaKey

Definition at line 34 of file uievents.idl.

◆ region

readonly attribute DOMString MouseEvent::region

Definition at line 1345 of file html.idl.

◆ relatedTarget

readonly attribute EventTarget MouseEvent::relatedTarget

Definition at line 36 of file uievents.idl.

◆ screenX

readonly attribute long MouseEvent::screenX

Definition at line 27 of file uievents.idl.

◆ screenY

readonly attribute long MouseEvent::screenY

Definition at line 28 of file uievents.idl.

◆ shiftKey

readonly attribute boolean MouseEvent::shiftKey

Definition at line 32 of file uievents.idl.


The documentation for this interface was generated from the following files: