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

Method expandRoot

unused/javax/swing/JTree.java:2988–2994  ·  view source on GitHub ↗

Expands the root path, assuming the current TreeModel has been set.

()

Source from the content-addressed store, hash-verified

2986 * Expands the root path, assuming the current TreeModel has been set.
2987 */
2988 private void expandRoot() {
2989 TreeModel model = getModel();
2990
2991 if(model != null && model.getRoot() != null) {
2992 expandPath(new TreePath(model.getRoot()));
2993 }
2994 }
2995
2996 /**
2997 * Returns the TreePath to the next tree element that

Callers 1

JTreeMethod · 0.95

Calls 3

getModelMethod · 0.95
expandPathMethod · 0.95
getRootMethod · 0.80

Tested by

no test coverage detected