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

Method setSelectionPaths

unused/javax/swing/JTree.java:1653–1655  ·  view source on GitHub ↗

Selects the nodes identified by the specified array of paths. If any component in any of the paths is hidden (under a collapsed node), and getExpandsSelectedPaths is true it is exposed (made viewable). @param paths an array of TreePath objects that specifies the n

(TreePath[] paths)

Source from the content-addressed store, hash-verified

1651 * the nodes to select
1652 */
1653 public void setSelectionPaths(TreePath[] paths) {
1654 getSelectionModel().setSelectionPaths(paths);
1655 }
1656
1657 /**
1658 * Sets the path identifies as the lead. The lead may not be selected.

Callers 3

setDropLocationMethod · 0.95
setSelectionRowsMethod · 0.95
setSelectionIntervalMethod · 0.45

Calls 1

getSelectionModelMethod · 0.95

Tested by

no test coverage detected