Returns true if the tree is being edited. The item that is being edited can be obtained using getSelectionPath . @return true if the user is currently editing a node @see #getSelectionPath
()
| 2349 | * @see #getSelectionPath |
| 2350 | */ |
| 2351 | public boolean isEditing() { |
| 2352 | TreeUI tree = getUI(); |
| 2353 | |
| 2354 | if(tree != null) |
| 2355 | return tree.isEditing(this); |
| 2356 | return false; |
| 2357 | } |
| 2358 | |
| 2359 | /** |
| 2360 | * Ends the current editing session. |