Focus Traversal Engine

Martin Sladecek martin.sladecek at
Tue Nov 25 08:19:11 UTC 2014

Hi Alex,
unfortunately, there's none. The simplest way would be to use 
ParentTraversalEngine with the risk that you will have to update the 
code once (and if) the traversal engine goes public.

You can never get the 100% correct traversal with event filters as the 
first node that will be traversed will get picked by some outer 
traversal engine and only then you can start with your traversal. It's 
possible to workaround this by placing your preferred first node as the 
first focusable node in your control's tree and do the same for your 
preferred last node (for Shift+TAB traversal). The other difficulty 
event filters have is that you will disable internal traversal of 
embedded control too, so this is rather something that can be used when 
you want to handle all the traversable nodes inside your control.

Hope it helps,

On 24.11.2014 16:50, Casall, Alexander wrote:
> Hi,
> is there an elegant way to change the focus traversal order without using Private APIs (TraversalEngine) or creating an own mechanism using EventFilters?
> Cheers Alex

More information about the openjfx-dev mailing list