Returns the number of viewable nodes. A node is viewable if all of its parents are expanded. The root is only included in this count if isRootVisible() is true. This returns 0 if the UI has not been set. @return the number of viewable nodes
()
| 1622 | * @return the number of viewable nodes |
| 1623 | */ |
| 1624 | public int getRowCount() { |
| 1625 | TreeUI tree = getUI(); |
| 1626 | |
| 1627 | if(tree != null) |
| 1628 | return tree.getRowCount(this); |
| 1629 | return 0; |
| 1630 | } |
| 1631 | |
| 1632 | /** |
| 1633 | * Selects the node identified by the specified path. If any |
no test coverage detected