Returns the Rectangle that the specified node will be drawn into. Returns null if any component in the path is hidden (under a collapsed parent). Note: This method returns a valid rectangle, even if the specified node is not currently displayed. @param path the <co
(TreePath path)
| 2112 | * or <code>null</code> |
| 2113 | */ |
| 2114 | public Rectangle getPathBounds(TreePath path) { |
| 2115 | TreeUI tree = getUI(); |
| 2116 | |
| 2117 | if(tree != null) |
| 2118 | return tree.getPathBounds(this, path); |
| 2119 | return null; |
| 2120 | } |
| 2121 | |
| 2122 | /** |
| 2123 | * Returns the <code>Rectangle</code> that the node at the specified row is |
no test coverage detected