Purple Code

com.purpletech.util
Class SwingUtils

java.lang.Object
  |
  +--com.purpletech.util.SwingUtils

public class SwingUtils
extends java.lang.Object


Constructor Summary
SwingUtils()
           
 
Method Summary
static void expandAllNodes(javax.swing.JTree tree)
           
static void expandNodes(javax.swing.JTree tree, java.util.Set nodes)
           
static java.util.Set getAllLeafNodes(javax.swing.tree.TreeNode root)
           
static java.util.Set getAllNodes(javax.swing.tree.TreeNode node, java.util.Set set, boolean onlyLeaves)
           
static void openFrame(java.lang.String title, int width, int height, java.awt.Component component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingUtils

public SwingUtils()
Method Detail

openFrame

public static void openFrame(java.lang.String title,
                             int width,
                             int height,
                             java.awt.Component component)

expandAllNodes

public static void expandAllNodes(javax.swing.JTree tree)

expandNodes

public static void expandNodes(javax.swing.JTree tree,
                               java.util.Set nodes)

getAllLeafNodes

public static java.util.Set getAllLeafNodes(javax.swing.tree.TreeNode root)

getAllNodes

public static java.util.Set getAllNodes(javax.swing.tree.TreeNode node,
                                        java.util.Set set,
                                        boolean onlyLeaves)

Documentation generated March 5 2003