Re: Move EventHandlerManager to public API

2020-10-24 Thread Johan Vos
That sounds like a valid reason for opening more API's, similar to what we did with the VirtualFlow. I would love to hear the opinion from others -- preferably now on the mailing list instead of later in a PR/CSR. - Johan On Mon, Oct 19, 2020 at 8:49 AM Abhinay Agarwal wrote: > Hi, > > Classes

Move EventHandlerManager to public API

2020-10-18 Thread Abhinay Agarwal
Hi, Classes which extends Node have access to the protected method `setEventHandler`[1]. It makes it exceptional easy to register a user-defined onXXX event handler. However, for custom EventTarget which do not extend Node, it becomes cumbersome as JavaFX expects us to create a whole new Event