2010-05-19 20 views

Respuesta

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); 

Hermosa, JavaDoc :-)

El estado expandido de un nodo es no en el TreeModel pero en el JTree.

+0

Gracias, paso por alto JTree's JavaDoc :-) – waiting

Cuestiones relacionadas