edu.iastate.metnet.birdseyeview.goview
Class GoLevel

java.lang.Object
  extended by edu.iastate.metnet.birdseyeview.goview.GoLevel

public class GoLevel
extends java.lang.Object

The GoLevel Class holds the nodes in one GO biological process heirarchical level. This is a glorified object with a list.

Author:
Matt Studham Created Jan 26, 2005

Field Summary
 int capacity
           
 int minCapacity
           
 
Constructor Summary
GoLevel()
          Constructor.
 
Method Summary
 void addNode(GoNode node)
          This method adds a node to this level.
 void displayGenes()
          This method calls all the nodes at this level to display their children.
 int getMinCapacity()
          This method returns current level's capacity
 java.util.ArrayList getNodes()
          This method returns the list of nodes on this level.
 int golevelCapacity()
          This method returns current level's capacity
 void loadconfiguration()
          This method calls all the nodes at this level to display their children and the data when load configuration
 void removeAllNodes()
          This method removes all the nodes on this level.
 void setlevelCapacity(int c)
          This method set the current level's capacity
 void setMinCapacity(int c)
          This method set the current level's capacity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

capacity

public int capacity

minCapacity

public int minCapacity
Constructor Detail

GoLevel

public GoLevel()
Constructor.

Method Detail

addNode

public void addNode(GoNode node)
This method adds a node to this level.

Parameters:
node - GoNode

removeAllNodes

public void removeAllNodes()
This method removes all the nodes on this level.


getNodes

public java.util.ArrayList getNodes()
This method returns the list of nodes on this level.

Returns:
ArrayList - GoNode objects

golevelCapacity

public int golevelCapacity()
This method returns current level's capacity

Returns:

setlevelCapacity

public void setlevelCapacity(int c)
This method set the current level's capacity

Parameters:
c -

getMinCapacity

public int getMinCapacity()
This method returns current level's capacity

Returns:

setMinCapacity

public void setMinCapacity(int c)
This method set the current level's capacity

Parameters:
c -

displayGenes

public void displayGenes()
This method calls all the nodes at this level to display their children.


loadconfiguration

public void loadconfiguration()
This method calls all the nodes at this level to display their children and the data when load configuration