edu.jhu.tmaj.client.image.data
Class NodeMaker

java.lang.Object
  extended by edu.jhu.tmaj.client.image.data.NodeMaker

public final class NodeMaker
extends java.lang.Object

Contains helper methods for making the tree structure of Projects,ArraySlides,Scans,and Sessions in the ProjectFrame. The hierachy of nodes is as such:
Root Node -> My Projects -> Projects -> ArraySlides -> Scans -> Sessions


Constructor Summary
NodeMaker(boolean isShowingOnlyPublishedPapers)
          Constructs this class, and initializes all nodes in JTree of the ProjectFrame.
 
Method Summary
 javax.swing.tree.DefaultMutableTreeNode getRootNode()
          Gets the root node of the JTree.
 void refresh(javax.swing.tree.DefaultTreeModel treeModel)
          Refreses the SharedSessionsNode and PublishedSessions Node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeMaker

public NodeMaker(boolean isShowingOnlyPublishedPapers)
Constructs this class, and initializes all nodes in JTree of the ProjectFrame.

Method Detail

getRootNode

public javax.swing.tree.DefaultMutableTreeNode getRootNode()
Gets the root node of the JTree. This node is the ancestor of all nodes created in this class.


refresh

public void refresh(javax.swing.tree.DefaultTreeModel treeModel)
Refreses the SharedSessionsNode and PublishedSessions Node.