Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.ide.controls
Class TreeAutoExpander

java.lang.Object
  extended by oracle.ide.controls.TreeAutoExpander

public class TreeAutoExpander
extends java.lang.Object

The TreeAutoExpander is a utility class that automatically expands nodes with only one child. This is usefull when the user is more likely to be interested by leaf node than non-leaf. A typical example is the navigator where the user is mostly interested by the files and not the packages.

To use this class, just call the install(javax.swing.JTree)() method.


Method Summary
static void install(javax.swing.JTree tree)
          Installs a TreeAutoExpander on that tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

install

public static void install(javax.swing.JTree tree)
Installs a TreeAutoExpander on that tree.

Parameters:
tree -

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.