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

Method setSelectionPath

unused/javax/swing/JTree.java:1640–1642  ·  view source on GitHub ↗

Selects the node identified by the specified path. If any component of the path is hidden (under a collapsed node), and getExpandsSelectedPaths is true it is exposed (made viewable). @param path the TreePath specifying the node to select

(TreePath path)

Source from the content-addressed store, hash-verified

1638 * @param path the <code>TreePath</code> specifying the node to select
1639 */
1640 public void setSelectionPath(TreePath path) {
1641 getSelectionModel().setSelectionPath(path);
1642 }
1643
1644 /**
1645 * Selects the nodes identified by the specified array of paths.

Callers 1

setDropLocationMethod · 0.95

Calls 1

getSelectionModelMethod · 0.95

Tested by

no test coverage detected