Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

nsIDOMMouseEvent Interface Reference

import "nsIDOMMouseEvent.idl";

Inheritance diagram for nsIDOMMouseEvent:

nsIDOMUIEvent nsIDOMEvent nsISupports nsIDOMSimpleGestureEvent

List of all members.

Detailed Description

The nsIDOMMouseEvent interface is the datatype for all mouse events in the Document Object Model.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Events/


Definition at line 53 of file nsIDOMMouseEvent.idl.

Public Member Functions

void initEvent (in DOMString eventTypeArg, in boolean canBubbleArg, in boolean cancelableArg)
void initMouseEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMAbstractView viewArg, in long detailArg, in long screenXArg, in long screenYArg, in long clientXArg, in long clientYArg, in boolean ctrlKeyArg, in boolean altKeyArg, in boolean shiftKeyArg, in boolean metaKeyArg, in unsigned short buttonArg, in nsIDOMEventTarget relatedTargetArg)
void initUIEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMAbstractView viewArg, in long detailArg)
void preventDefault ()
void stopPropagation ()
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

readonly attribute boolean altKey
const unsigned short AT_TARGET = 2
readonly attribute boolean bubbles
const unsigned short BUBBLING_PHASE = 3
readonly attribute unsigned short button
readonly attribute boolean cancelable
const unsigned short CAPTURING_PHASE = 1
readonly attribute long clientX
readonly attribute long clientY
readonly attribute boolean ctrlKey
readonly attribute
readonly attribute long detail
readonly attribute unsigned short eventPhase
readonly attribute boolean metaKey
readonly attribute
readonly attribute long screenX
readonly attribute long screenY
readonly attribute boolean shiftKey
readonly attribute
readonly attribute DOMTimeStamp timeStamp
readonly attribute DOMString type
readonly attribute

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

Generated by  Doxygen 1.6.0   Back to index