Ensures that the node identified by path is currently viewable. @param path the TreePath to make visible
(TreePath path)
| 2070 | * @param path the <code>TreePath</code> to make visible |
| 2071 | */ |
| 2072 | public void makeVisible(TreePath path) { |
| 2073 | if(path != null) { |
| 2074 | TreePath parentPath = path.getParentPath(); |
| 2075 | |
| 2076 | if(parentPath != null) { |
| 2077 | expandPath(parentPath); |
| 2078 | } |
| 2079 | } |
| 2080 | } |
| 2081 | |
| 2082 | /** |
| 2083 | * Returns true if the value identified by path is currently viewable, |
no test coverage detected