RFR: 8091673: Public focus traversal API for use in custom controls [v3]
Michael Strauß
mstrauss at openjdk.org
Tue Oct 29 17:59:18 UTC 2024
On Tue, 29 Oct 2024 17:50:17 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>> Is there really no conceivable scenario in which this method could legitimately be called _not_ in response to a key event, or is it simply that we're not thinking of such a scenario right now? I'd be bothered by an API that was created with a too-narrow focus in mind, and as a result doesn't allow me to do what I need.
>
> Could you think of a scenario when we want a component focused but not indicate its focused state?
Yes, that's actually the most common case (focused, but not focusVisible) in contemporary user interfaces, see my post below.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1604#discussion_r1821312267
More information about the openjfx-dev
mailing list