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

Method addSelectionPaths

unused/javax/swing/JTree.java:1769–1771  ·  view source on GitHub ↗

Adds each path in the array of paths to the current selection. If any component of any of the paths isn't viewable and getExpandsSelectedPaths is true, it is made viewable. Note that JTree does not allow duplicate nodes to exist as children under the same parent -- each

(TreePath[] paths)

Source from the content-addressed store, hash-verified

1767 * the nodes to add
1768 */
1769 public void addSelectionPaths(TreePath[] paths) {
1770 getSelectionModel().addSelectionPaths(paths);
1771 }
1772
1773 /**
1774 * Adds the path at the specified row to the current selection.

Callers 2

addSelectionRowsMethod · 0.95
addSelectionIntervalMethod · 0.45

Calls 1

getSelectionModelMethod · 0.95

Tested by

no test coverage detected