Method setEditable(boolean flag)
Return type: void
Member of:
javax.swing.JTree
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
getTree().setEditable( true);
2
setEditable(true);
3
setEditable(false);
4
setEditable(true);
5
setEditable(true);
6
tree.setEditable(false);
7
tree.setEditable(true);
8
setEditable(true);
9
pTree.setEditable(false);
10
this.setEditable(false);
11
treBookmarks.setEditable(true);
12
getTree().setEditable(true);
13
setEditable(true);
14
setEditable(true);
15
tree.setEditable(true);
16
setEditable( false);
17
m_tree.setEditable(true);
18
tree.setEditable(false); //TODO: set to true once custom editor written (and uncomment listner)
19
tree.setEditable(false); // allows to change the text
20
setEditable(true);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.