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

Method getSelectionPath

unused/javax/swing/JTree.java:1845–1847  ·  view source on GitHub ↗

Returns the path to the first selected node. @return the TreePath for the first selected node, or null if nothing is currently selected

()

Source from the content-addressed store, hash-verified

1843 * or <code>null</code> if nothing is currently selected
1844 */
1845 public TreePath getSelectionPath() {
1846 return getSelectionModel().getSelectionPath();
1847 }
1848
1849 /**
1850 * Returns the paths of all selected values.

Callers 4

getSelectedNodeMethod · 0.80
propertyChangeMethod · 0.80
getSelectedNodeMethod · 0.80

Calls 1

getSelectionModelMethod · 0.95

Tested by

no test coverage detected