On Mon, 7 Oct 2024 23:08:43 GMT, Nir Lisker <nlis...@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

Reply via email to