RFR: 8091673: Public focus traversal API for use in custom controls [v2]

Kevin Rushforth kcr at openjdk.org
Fri Oct 25 15:05:17 UTC 2024


On Wed, 23 Oct 2024 22:14:20 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> Andy Goryachev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   request focus traversal
>
> modules/javafx.graphics/src/main/java/javafx/scene/Node.java line 10449:
> 
>> 10447:      * @since 24
>> 10448:      */
>> 10449:     public final boolean requestFocusTraversal(TraversalDirection direction) {
> 
> possible alternative names:
> 
> moveFocus
> requestFocusTraversal
> tryToFocus
> tryMoveFocus

Of these, I like `requestFocusTraversal` best. Another alternative: `requestMoveFocus`.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1604#discussion_r1816847631


More information about the openjfx-dev mailing list