edu.jhu.tmaj.client.admin.data
Class TreeUtils

java.lang.Object
  extended by edu.jhu.tmaj.client.admin.data.TreeUtils

public final class TreeUtils
extends java.lang.Object

Utilities for the JTree in the MetaData application.


Constructor Summary
TreeUtils()
           
 
Method Summary
static void addNode(javax.swing.tree.DefaultMutableTreeNode parentNode, javax.swing.tree.DefaultMutableTreeNode newNode, javax.swing.tree.DefaultTreeModel treeModel)
           
static void deleteNode(javax.swing.tree.DefaultMutableTreeNode node, javax.swing.tree.DefaultTreeModel treeModel)
           
static void editNode(java.lang.Object newUserObject, javax.swing.tree.DefaultMutableTreeNode node, javax.swing.tree.DefaultTreeModel treeModel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeUtils

public TreeUtils()
Method Detail

editNode

public static void editNode(java.lang.Object newUserObject,
                            javax.swing.tree.DefaultMutableTreeNode node,
                            javax.swing.tree.DefaultTreeModel treeModel)

deleteNode

public static void deleteNode(javax.swing.tree.DefaultMutableTreeNode node,
                              javax.swing.tree.DefaultTreeModel treeModel)

addNode

public static void addNode(javax.swing.tree.DefaultMutableTreeNode parentNode,
                           javax.swing.tree.DefaultMutableTreeNode newNode,
                           javax.swing.tree.DefaultTreeModel treeModel)