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

Method isPathSelected

unused/javax/swing/JTree.java:1926–1928  ·  view source on GitHub ↗

Returns true if the item identified by the path is currently selected. @param path a TreePath identifying a node @return true if the node is selected

(TreePath path)

Source from the content-addressed store, hash-verified

1924 * @return true if the node is selected
1925 */
1926 public boolean isPathSelected(TreePath path) {
1927 return getSelectionModel().isPathSelected(path);
1928 }
1929
1930 /**
1931 * Returns true if the node identified by row is selected.

Callers 14

setExpandedStateMethod · 0.95
removeSelectionPathsMethod · 0.80
isSiblingsSelectedMethod · 0.80
unselectAncestorMethod · 0.80
getCurrentComponentMethod · 0.80
getCurrentComponentMethod · 0.80
getAccessibleStateSetMethod · 0.80

Calls 1

getSelectionModelMethod · 0.95

Tested by

no test coverage detected