RFR: 8090456: Focus Management [v8]

Andy Goryachev angorya at openjdk.org
Tue Oct 8 14:47:06 UTC 2024


On Mon, 7 Oct 2024 23:08:43 GMT, Nir Lisker <nlisker at openjdk.org> wrote:

> I'm missing the explanation in the proposal for why the API needs to be static methods called on nodes, and not have these methods on the nodes themselves.

I would say
1. `FocusTraversal` accepts `null` nodes, making the code more resilient
2. the static nature of `FocusTraversal` indicates that it is not something related to particular node, but happens in the context of the scene graph

do you want this mentioned in the JEP or in the `FocusTraversal` class?

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1555#issuecomment-2400057671


More information about the openjfx-dev mailing list