<Swing Dev> RfR JDK-8161483 Implement AccessibleAction interface in JList.AccessibleJList.AccessibleJListChild
Pete Brunet
peter.brunet at oracle.com
Tue Jul 19 02:10:02 UTC 2016
Please review the following:
Bug: https://bugs.openjdk.java.net/browse/JDK-8161483
Patch: http://cr.openjdk.java.net/~ptbrunet/JDK-8161483/webrev.00/
This is a followon to the patch for
JDK-8145207 [macosx] JList, VO can't access non-visible list items
In order to fixJDK-8145207the AccessibleAction interface was needed for
JList.AccessibleJList.AccessibleJListChild but a backport of this fix
has been requested and the released public API can not be changed in 8u
or earlier. The workaround for JDK-8145207 is to create and use a
private subclass of JList.AccessibleJList.AccessibleJListChild,
JList.AccessibleJList.ActionableAccessibleJListChild. The downside of
this fix is that it returns a subclass of the
JList.AccessibleJList.AccessibleJListChild. If a user overrides the
class and returns from its code it will not inherit the AccessibleAction
behavior. For JDK 9 the ActionableAccessibleJListChild subclass should
be removed and the AccessibleAction implementation moved to
JList.AccessibleJList.AccessibleJListChild.
TiA,
Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20160718/5ff58a95/attachment.html>
More information about the swing-dev
mailing list