initMouseEvent
(method
)
Owning interface and usage:
MouseEvent.
initMouseEvent(
typeArg,
canBubbleArg,
cancelableArg,
viewArg,
detailArg,
screenXArg,
screenYArg,
clientXArg,
clientYArg,
ctrlKeyArg,
altKeyArg,
shiftKeyArg,
metaKeyArg,
buttonArg,
relatedTargetArg)
Member of these other interfaces:
none
Description:
The initMouseEvent() method is used to initialize the value of a MouseEvent created through the DocumentEvent interface. This method may only be called before the MouseEvent has been dispatched via the dispatchEvent() method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation
takes precedence.
Parameters:
Boolean canBubbleArg |
- |
Specifies whether or not the Event can bubble.
|
Boolean cancelableArg |
- |
Specifies whether or not the Event's default action can be prevented.
|
long detailArg |
- |
Specifies the Event's mouse click count.
|
long screenXArg |
- |
Specifies the Event's screen x coordinate.
|
long screenYArg |
- |
Specifies the Event's screen y coordinate.
|
long clientXArg |
- |
Specifies the Event's client x coordinate.
|
long clientYArg |
- |
Specifies the Event's client y coordinate.
|
Boolean ctrlKeyArg |
- |
Specifies whether or not control key was depressed during the Event.
|
Boolean altKeyArg |
- |
Specifies whether or not alt key was depressed during the Event.
|
Boolean shiftKeyArg |
- |
Specifies whether or not shift key was depressed during the Event.
|
Boolean metaKeyArg |
- |
Specifies whether or not meta key was depressed during the Event.
|
Returns:
nothing
Exceptions:
none