Module java.xml

Interface EventTarget


public interface EventTarget
The EventTarget interface is implemented by all Nodes in an implementation which supports the DOM Event Model. Therefore, this interface can be obtained by using binding-specific casting methods on an instance of the Node interface. The interface allows registration and removal of EventListeners on an EventTarget and dispatch of events to that EventTarget.

See also the Document Object Model (DOM) Level 2 Events Specification.

Since:
1.5, DOM Level 2