Public Member Functions | Public Attributes

nsIDOMMouseEvent Interface Reference

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

import "nsIDOMMouseEvent.idl";

Inheritance diagram for nsIDOMMouseEvent:
Collaboration diagram for nsIDOMMouseEvent:

List of all members.

Public Member Functions

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)

Public Attributes

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 unsigned short button
readonly attribute
nsIDOMEventTarget 
relatedTarget

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/

Status:
FROZEN

Member Function Documentation

void nsIDOMMouseEvent::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 
)

Member Data Documentation

readonly attribute boolean nsIDOMMouseEvent::altKey
readonly attribute unsigned short nsIDOMMouseEvent::button
readonly attribute long nsIDOMMouseEvent::clientX
readonly attribute long nsIDOMMouseEvent::clientY
readonly attribute boolean nsIDOMMouseEvent::ctrlKey
readonly attribute boolean nsIDOMMouseEvent::metaKey
readonly attribute long nsIDOMMouseEvent::screenX
readonly attribute long nsIDOMMouseEvent::screenY
readonly attribute boolean nsIDOMMouseEvent::shiftKey

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