Uses of Interface
org.w3c.dom.events.EventTarget
-
Packages that use EventTarget Package Description org.w3c.dom.events -
-
Uses of EventTarget in org.w3c.dom.events
Methods in org.w3c.dom.events that return EventTarget Modifier and Type Method and Description EventTarget
Event. getCurrentTarget()
Used to indicate theEventTarget
whoseEventListeners
are currently being processed.EventTarget
MouseEvent. getRelatedTarget()
Used to identify a secondaryEventTarget
related to a UI event.EventTarget
Event. getTarget()
Used to indicate theEventTarget
to which the event was originally dispatched.Methods in org.w3c.dom.events with parameters of type EventTarget Modifier and Type Method and Description void
MouseEvent. initMouseEvent(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)
TheinitMouseEvent
method is used to initialize the value of aMouseEvent
created through theDocumentEvent
interface.
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.