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

static void org::netbeans::lib::profiler::ui::UIUtils::makeTreeAutoExpandable ( JTree  tree  )  [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.

Parameters:
tree The tree to make auto-expandable

Definition at line 530 of file UIUtils.java.

Referenced by makeTreeAutoExpandable().

                                                          {
        makeTreeAutoExpandable(tree, 1, false);
    }


Generated by  Doxygen 1.6.0   Back to index