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

Method collapsePath

unused/javax/swing/JTree.java:2243–2245  ·  view source on GitHub ↗

Ensures that the node identified by the specified path is collapsed and viewable. @param path the TreePath identifying a node

(TreePath path)

Source from the content-addressed store, hash-verified

2241 * @param path the <code>TreePath</code> identifying a node
2242 */
2243 public void collapsePath(TreePath path) {
2244 setExpandedState(path, false);
2245 }
2246
2247 /**
2248 * Ensures that the node in the specified row is collapsed.

Callers 4

collapseRowMethod · 0.95
createTreeMethod · 0.80
treeStructureChangedMethod · 0.80
doAccessibleActionMethod · 0.80

Calls 1

setExpandedStateMethod · 0.95

Tested by

no test coverage detected