-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 6
-
Component/s: client-libs
-
generic
-
generic
For Accessible Action there is no way to find out what the Accessible Actions for a component are unless you do it programmatically using getAccessibleActionDescription(), as shown below:
AccessibleAction aa = ac.getAccessibleAction();
if (aa == null) {
System.out.println("getAccessibleAction should not return a null value for JButton");
}
int count = aa.getAccessibleActionCount();
if (count != 1) {
System.out.println("getAccessibleActionCount returned an incorrect value");
}
String aa_desc = aa.getAccessibleActionDescription(0);
System.out.println("Accessible Action Description: " + aa_desc);
I think the Java Doc for the Accessible Component should provide the what the Accessible Actions are for a component which implementd AccessibleAction.
###@###.### 2005-1-11 20:27:44 GMT
AccessibleAction aa = ac.getAccessibleAction();
if (aa == null) {
System.out.println("getAccessibleAction should not return a null value for JButton");
}
int count = aa.getAccessibleActionCount();
if (count != 1) {
System.out.println("getAccessibleActionCount returned an incorrect value");
}
String aa_desc = aa.getAccessibleActionDescription(0);
System.out.println("Accessible Action Description: " + aa_desc);
I think the Java Doc for the Accessible Component should provide the what the Accessible Actions are for a component which implementd AccessibleAction.
###@###.### 2005-1-11 20:27:44 GMT