On Tue, 10 Sep 2024 16:26:17 GMT, Kevin Rushforth <k...@openjdk.org> wrote:
>> Public APIs for focus traversal and the focus traversal policy: >> >> https://github.com/andy-goryachev-oracle/Test/blob/main/doc/FocusTraversal/FocusTraversal.md >> >> This work is loosely based on the patch >> https://cr.openjdk.org/~jgiles/8061673/ > > modules/javafx.graphics/src/main/java/javafx/scene/traversal/FocusTraversal.java > line 34: > >> 32: >> 33: /** >> 34: * Provides the mechanism for focus traversal in the JavaFX application. > > I'd like to see additional documentation here describing focus traversal. more info added > modules/javafx.graphics/src/main/java/javafx/scene/traversal/FocusTraversal.java > line 40: > >> 38: public final class FocusTraversal { >> 39: /** >> 40: * Traverses focus to the adjacent node as specified by the >> direction. > > What does it do if the `node` to traverse from is not the currently focused > node? > > How does traversal differ if the method is `KEY` vs `DEFAULT`? this is explained in `TraversalMethod` ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1555#discussion_r1759591189 PR Review Comment: https://git.openjdk.org/jfx/pull/1555#discussion_r1759591036