Re: Improvements for Focus Traversal code

2023-05-16 Thread Andy Goryachev
in the public APIs? -andy From: openjfx-dev on behalf of Chuck Davis Date: Tuesday, May 16, 2023 at 05:53 To: Cc: openjfx-dev Subject: Re: Improvements for Focus Traversal code One of the things I really miss about Swing was the ease with which we could move focus programmatically. All we had

Re: Improvements for Focus Traversal code

2023-05-16 Thread Chuck Davis
One of the things I really miss about Swing was the ease with which we could move focus programmatically. All we had to do was call the focus object (don't remember the name) and call focus.next() or focus.previous(). Having to get the next Control and call Control.requestFocus() is a hack. Whil

Improvements for Focus Traversal code

2023-05-16 Thread John Hendrikx
Hi list, I've gone down another rabbit hole in JavaFX, this time related to focus traversal. # Navigation keys are not handled universally for all controls Some controls install custom behaviors, and some don't.  The custom behaviors often include direct handling of navigation keys (getFocu