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

Method stopEditing

unused/javax/swing/JTree.java:2374–2380  ·  view source on GitHub ↗

Ends the current editing session. (The DefaultTreeCellEditor object saves any edits that are currently in progress on a cell. Other implementations may operate differently.) Has no effect if the tree isn't being edited. Note: To make edit-saves automatic whenever

()

Source from the content-addressed store, hash-verified

2372 * false if editing was not in progress
2373 */
2374 public boolean stopEditing() {
2375 TreeUI tree = getUI();
2376
2377 if(tree != null)
2378 return tree.stopEditing(this);
2379 return false;
2380 }
2381
2382 /**
2383 * Cancels the current editing session. Has no effect if the

Callers

nothing calls this directly

Calls 1

getUIMethod · 0.95

Tested by

no test coverage detected