Didn't look too deep, but seems like a bug or incorrect doc. I don't see
such specifications in other "setOnX" methods.
On Sun, May 28, 2023 at 1:02 PM John Hendrikx
wrote:
> When looking at the code for Scene#setOnKeyPressed, I noticed that it
> calls Scene#setEventHandler. This is documented
When looking at the code for Scene#setOnKeyPressed, I noticed that it
calls Scene#setEventHandler. This is documented as:
/**
* Sets the handler to use for this event type. There can only be
one such
* handler specified at a time. This handler is guaranteed to be called
* f