public interface EventListener
EventListenerinterface is the primary method for handling events. Users implement the
EventListenerinterface and register their listener on an
EventTargetafter they have completed using the listener.
Node with the
method does not copy the event listeners attached to it. Event
listeners must be attached to the newly created
afterwards if so desired.
Node, with methods
Node.appendChild, does not affect the event listeners
attached to it.
The EventListener behavior follows the description in section 1.2.2 of the DOM Level 3 Events specification.
See also the Document Object Model (DOM) Level 3 Events Specification and .
void handleEvent(Event evt)
EventListenerinterface was registered.
Eventcontains contextual information about the event.
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.