Logo Search packages:      
Sourcecode: visualvm version File versions  Download package

static void org::netbeans::lib::profiler::ui::UIUtils::makeTreeAutoExpandable ( JTree  tree,
final int  maxChildToExpand 
) [inline, static]

By calling this method, the provided tree will become auto-expandable, i.e. When a node is expanded, if it has only one child, that child gets expanded, and so on. This is very useful for trees that have a deep node hierarchy with typical paths from root to leaves containing only one node along the whole path.

tree The tree to make auto-expandable

Definition at line 545 of file UIUtils.java.

References makeTreeAutoExpandable().

        makeTreeAutoExpandable(tree, maxChildToExpand, false);

Generated by  Doxygen 1.6.0   Back to index