Returns the row that displays the node identified by the specified path. @param path the TreePath identifying a node @return an integer specifying the display row, where 0 is the first row in the display, or -1 if any of the elements in path are hidden under a collapse
(TreePath path)
| 2196 | * are hidden under a collapsed parent. |
| 2197 | */ |
| 2198 | public int getRowForPath(TreePath path) { |
| 2199 | TreeUI tree = getUI(); |
| 2200 | |
| 2201 | if(tree != null) |
| 2202 | return tree.getRowForPath(this, path); |
| 2203 | return -1; |
| 2204 | } |
| 2205 | |
| 2206 | /** |
| 2207 | * Ensures that the node identified by the specified path is |
no test coverage detected