nsIDOMMouseEvent
| IID: | ff751edc-8b02-aae7-0010-8301838a3123 |
| Inherits From: | nsIDOMUIEvent |
| Status: | FROZEN |
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/
Properties
readonly PRBool altKey
readonly PRUint16 button
readonly PRInt32 clientX
readonly PRInt32 clientY
readonly PRBool ctrlKey
readonly PRBool metaKey
readonly nsIDOMEventTarget relatedTarget
readonly PRInt32 screenX
readonly PRInt32 screenY
readonly PRBool shiftKey
Methods
void initMouseEvent ( DOMString typeArg , PRBool canBubbleArg , PRBool cancelableArg , nsIDOMAbstractView viewArg , PRInt32 detailArg , PRInt32 screenXArg , PRInt32 screenYArg , PRInt32 clientXArg , PRInt32 clientYArg , PRBool ctrlKeyArg , PRBool altKeyArg , PRBool shiftKeyArg , PRBool metkeyArg , PRUint16 buttonArg , nsIDOMEventTarget relatedTargetArg )
void initMouseEvent ( DOMString typeArg , PRBool canBubbleArg , PRBool cancelableArg , nsIDOMAbstractView viewArg , PRInt32 detailArg , PRInt32 screenXArg , PRInt32 screenYArg , PRInt32 clientXArg , PRInt32 clientYArg , PRBool ctrlKeyArg , PRBool altKeyArg , PRBool shiftKeyArg , PRBool metkeyArg , PRUint16 buttonArg , nsIDOMEventTarget relatedTargetArg )
- Arguments:
- typeArg
- canBubbleArg
- cancelableArg
- viewArg
- detailArg
- screenXArg
- screenYArg
- clientXArg
- clientYArg
- ctrlKeyArg
- altKeyArg
- shiftKeyArg
- metkeyArg
- buttonArg
- relatedTargetArg
References
This interface is passed as an argument to the following methods:
nsIDragService.invokeDragSessionWithImage, nsIDragService.invokeDragSessionWithSelection
Reference documentation is generated from Mozilla's source.
