Package | Description |
---|---|
org.w3c.dom.events |
The org.w3c.dom.events package provides the Java ME DOM Events API subset
defined by JSR 280.
|
Modifier and Type | Method and Description |
---|---|
EventTarget |
Event.getCurrentTarget()
Used to indicate the
EventTarget whose
EventListeners are currently being processed. |
EventTarget |
MouseEvent.getRelatedTarget()
Used to identify a secondary
EventTarget related to a UI
event, depending on the type of event. |
EventTarget |
Event.getTarget()
Used to indicate the
EventTarget to which the event was
originally dispatched. |
Modifier and Type | Method and Description |
---|---|
void |
MouseEvent.initMouseEvent(java.lang.String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg,
int screenXArg,
int screenYArg,
int clientXArg,
int clientYArg,
boolean ctrlKeyArg,
boolean altKeyArg,
boolean shiftKeyArg,
boolean metaKeyArg,
short buttonArg,
EventTarget relatedTargetArg)
The
initMouseEvent method is used to initialize the value
of a MouseEvent object and has the same behavior as
UIEvent.initUIEvent() . |
void |
MouseEvent.initMouseEventNS(java.lang.String namespaceURI,
java.lang.String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg,
int screenXArg,
int screenYArg,
int clientXArg,
int clientYArg,
short buttonArg,
EventTarget relatedTargetArg,
java.lang.String modifiersList)
The
initMouseEventNS method is used to initialize the
value of a MouseEvent object and has the same behavior
as UIEvent.initUIEventNS() . |
void |
MouseWheelEvent.initMouseWheelEventNS(java.lang.String namespaceURIArg,
java.lang.String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg,
int screenXArg,
int screenYArg,
int clientXArg,
int clientYArg,
short buttonArg,
EventTarget relatedTargetArg,
java.lang.String modifiersListArg,
int wheelDeltaArg)
The
initMouseWheelEventNS method is used to initialize the
value of a MouseWheelEvent object and has the same
behavior as Event.initEventNS() . |
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.