2010-05-19 11 views

Répondre

13

JTree.java:

/** 
* Returns true if the node identified by the path is currently expanded, 
* 
* @param path the <code>TreePath</code> specifying the node to check 
* @return false if any of the nodes in the node's path are collapsed, 
*    true if all nodes in the path are expanded 
*/ 
public boolean isExpanded(TreePath path); 

Belle, JavaDoc :-)

L'état expansé d'un nœud est pas dans le TreeModel mais dans le JTree.

+0

Merci, je donne sur le JavaDoc de JTree :-) – waiting