RFR: 8271846 a11y API lacks setSelectedIndex method [v4]

Sergey Bylokhov serb at openjdk.org
Sun Nov 20 03:19:58 UTC 2022


On Mon, 14 Nov 2022 11:07:56 GMT, Artem Semenov <asemenov at openjdk.org> wrote:

>> Probably because of the endless notifications loop? implementation of addSelectionInterval looks similar to setSelectionInterval. In some cases the addSelectionInterval just call setSelectionInterval.
>
> It looks like it is. Please formulate the question differently.

It is unclear why the `setSelectionInterval `is actually any better than `addAccessibleSelection`. Both have a similar implementation,  in some cases, the addSelectionInterval just calls setSelectionInterval, and seems that posts similar notifications. So it is unclear why the setSelectionInterval works fine and addAccessibleSelection does not work.

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

PR: https://git.openjdk.org/jdk/pull/8578



More information about the client-libs-dev mailing list