List of usage examples for javax.accessibility AccessibleTable getAccessibleRowCount
public int getAccessibleRowCount();
From source file:MainClass.java
void dumpTableInfo(AccessibleContext ac) { AccessibleTable at = ac.getAccessibleTable(); if (at != null) { int nCol = at.getAccessibleColumnCount(); System.out.println("Columns = " + nCol); int nRow = at.getAccessibleRowCount(); System.out.println("Rows = " + nRow); return;//w w w . jav a 2 s .c om } int nChildren = ac.getAccessibleChildrenCount(); for (int i = 0; i < nChildren; i++) dumpTableInfo(ac.getAccessibleChild(i).getAccessibleContext()); }