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

Method getSelectionPaths

unused/javax/swing/JTree.java:1855–1859  ·  view source on GitHub ↗

Returns the paths of all selected values. @return an array of TreePath objects indicating the selected nodes, or null if nothing is currently selected

()

Source from the content-addressed store, hash-verified

1853 * nodes, or <code>null</code> if nothing is currently selected
1854 */
1855 public TreePath[] getSelectionPaths() {
1856 TreePath[] selectionPaths = getSelectionModel().getSelectionPaths();
1857
1858 return (selectionPaths != null && selectionPaths.length > 0) ? selectionPaths : null;
1859 }
1860
1861 /**
1862 * Returns all of the currently selected rows. This method is simply

Callers 2

setDropLocationMethod · 0.95

Calls 1

getSelectionModelMethod · 0.95

Tested by

no test coverage detected