PDA

View Full Version : Hide TreeNode



taiti
23 Apr 2008, 11:18 PM
TreeNode have not method for hiding him. I want to walk on tree recursively and hide node's that meet the conditions.

hpet
29 Apr 2008, 5:15 AM
TreeNode UI is what you should be looking at.
It provides UI implementation (for node) and there you have hide().

So to hide a node, use something like:

yourTreeNode.getUI().hide();

or

yourTreeNode.ui.hide();