Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b22
Description
The following methods should be added to the `javafx.event.EventTarget` interface:
<T> void addEventHandler(EventType<T>, EventHandler<? super T>)
<T> void removeEventHandler(EventType<T>, EventHandler<? super T>)
<T> void addEventFilter(EventType<T>, EventHandler<? super T>)
<T> void removeEventFilter(EventType<T>, EventHandler<? super T>)
This change allows applications to manage event handlers for all kinds of event targets.
<T> void addEventHandler(EventType<T>, EventHandler<? super T>)
<T> void removeEventHandler(EventType<T>, EventHandler<? super T>)
<T> void addEventFilter(EventType<T>, EventHandler<? super T>)
<T> void removeEventFilter(EventType<T>, EventHandler<? super T>)
This change allows applications to manage event handlers for all kinds of event targets.
Attachments
Issue Links
- csr for
-
JDK-8306035 Add event handler management to EventTarget
- Closed
- duplicates
-
JDK-8090675 Common super-interface for objects that allow to register event handlers/filters.
- Closed
- relates to
-
JDK-8090675 Common super-interface for objects that allow to register event handlers/filters.
- Closed
-
JDK-8318204 Use new EventTarget methods in ListenerHelper
- Resolved
(1 links to)