List of usage examples for javax.accessibility AccessibleAction getAccessibleActionCount
public int getAccessibleActionCount();
From source file:MainClass.java
void dumpActionInfo(AccessibleContext ac) { AccessibleAction aa = ac.getAccessibleAction(); if (aa != null) { String s = ac.getAccessibleName(); System.out.println(s);/* w ww. j a v a 2 s. c om*/ int count = aa.getAccessibleActionCount(); for (int i = 0; i < count; i++) { s = aa.getAccessibleActionDescription(i); System.out.println("Description = " + s); } } int nChildren = ac.getAccessibleChildrenCount(); for (int i = 0; i < nChildren; i++) dumpActionInfo(ac.getAccessibleChild(i).getAccessibleContext()); }