public final <T extends Event> void addEventHandler (EventType<T> eventType, EventHandler<? super T> eventHandler)

Registers an event handler to this node. The handler is called when the node receives an Event of the specified type during the bubbling phase of event delivery.

Parameters:
<T>    the specific event class of the handler
eventType    the type of the events to receive by the handler
eventHandler    the handler to register

Exceptions:
NullPointerException    if the event type or handler is null