MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / makeVisible

Method makeVisible

unused/javax/swing/JTree.java:2072–2080  ·  view source on GitHub ↗

Ensures that the node identified by path is currently viewable. @param path the TreePath to make visible

(TreePath path)

Source from the content-addressed store, hash-verified

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,

Callers 1

scrollPathToVisibleMethod · 0.95

Calls 1

expandPathMethod · 0.95

Tested by

no test coverage detected