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

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

public final class DynamicTreeHelper
extends java.lang.Object

A helper class for the MetaData application. In the MetaData application, the MetaData is represented in a JTree.


Constructor Summary
DynamicTreeHelper()
           
 
Method Summary
static DynamicSection getDynamicSectionForNode(javax.swing.tree.DefaultMutableTreeNode node)
          Returns the DynamicSection of any the given node.
static NameTable getTableForNode(javax.swing.tree.DefaultMutableTreeNode selectedNode)
          Returns the table the given node represents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicTreeHelper

public DynamicTreeHelper()
Method Detail

getDynamicSectionForNode

public static DynamicSection getDynamicSectionForNode(javax.swing.tree.DefaultMutableTreeNode node)
Returns the DynamicSection of any the given node. If the node does not have a dynamic section as it is higher in the Tree than the DynamicSectionNode, null is returned.


getTableForNode

public static NameTable getTableForNode(javax.swing.tree.DefaultMutableTreeNode selectedNode)
Returns the table the given node represents.