JDK-4702227 : All swing text should implement AccessibleText & AccessibleExtendedText
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: unknown
  • Submitted: 2002-06-14
  • Updated: 2003-04-24
  • Resolved: 2003-04-24
Related Reports
Relates :  
Description
In order for spatial Braille to work and screen reader "review mode", we need bounding rectangle information for all text on the screen, and also the ability to get text substrings.

If it proves difficult to implement all of the methods in the AccessibleText interface (e.g. the getCharacterAttribute method), another option might be to only implement AccessibleExtendedText and then duplicate some of the methods of AccessibleText in AccessibleExtendedText.

Comments
EVALUATION Presumably by swing text Peter means AbstractButton (and its subclasses), JComboBox, JMenuItem (and its subclasses) and possibly the tabs of JTabbedPane. AccessibleText contains selection methods, which does not match these widgets. I am moving this to incomplete until a suitable accessible API has been provided and only then can we evaluate the feasibility of this. ###@###.### 2002-06-14 This would be a huge change throughout all of Swing, that is not appropriate at this time. Additionally it would make the API that much more cumbersome. ###@###.### 2003-04-24
24-04-2003