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.

treeThe tree to make auto-expandable

Definition at line 533 of file UIUtils.java.

Referenced by makeTreeAutoExpandable(), org::netbeans::lib::profiler::ui::memory::SnapshotReverseMemCallGraphPanel::prepareResults(), org::netbeans::lib::profiler::ui::memory::LiveReverseMemCallGraphPanel::prepareResults(), org::netbeans::lib::profiler::ui::cpu::SubtreeCallGraphPanel::prepareResults(), org::netbeans::lib::profiler::ui::cpu::ReverseCallGraphPanel::prepareResults(), and org::netbeans::lib::profiler::ui::cpu::CCTDisplay::prepareResults().

        makeTreeAutoExpandable(tree, 1, false);

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index