2010-05-19 64 views

回答

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

美麗,JavaDoc的:-)

節點的展開狀態是TreeModel但在JTree

+0

謝謝,我忽略了JTree的JavaDoc :-) – waiting 2010-05-19 01:30:09

相關問題