edu.iastate.metnet.birdseyeview.pathwayview
Class PathwayView

java.lang.Object
  extended by edu.iastate.metnet.birdseyeview.AbstractView
      extended by edu.iastate.metnet.birdseyeview.pathwayview.PathwayView

public class PathwayView
extends AbstractView

The PathwayView Class displays the Bird's Eye View of the pathways in which the gene products participate.

Author:
Matt Studham Created Jan 25, 2005

Field Summary
 
Fields inherited from class edu.iastate.metnet.birdseyeview.AbstractView
algorithm, annotations, birdsEyeView, size, viewInfo
 
Constructor Summary
PathwayView(ViewInfo vi, BirdsEyeView bev, java.util.ArrayList anns, java.awt.Dimension s, java.lang.String alg)
          Constructor.
 
Method Summary
 java.awt.Color getBackground()
          Subclasses must indicate their background color so the parent can blend in if the display area is bigger than the view.
 java.awt.Component getComponent()
          Subclasses must return some sort of component to display as their view.
 void loadConfiguration()
           
static void main(java.lang.String[] args, java.lang.String algorithm)
          This method tests the PathwayView class.
 void reloadData()
          Subclasses must reload the annotation data and modify their displays accordingly.
 void setlevelCapacity(int c)
           
 
Methods inherited from class edu.iastate.metnet.birdseyeview.AbstractView
getLayout, getViewInfo, goDown, goUp, loadData, toggleMapLabels
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathwayView

public PathwayView(ViewInfo vi,
                   BirdsEyeView bev,
                   java.util.ArrayList anns,
                   java.awt.Dimension s,
                   java.lang.String alg)
Constructor.

Parameters:
vi -
bev -
anns -
s -
alg -
Method Detail

getComponent

public java.awt.Component getComponent()
Description copied from class: AbstractView
Subclasses must return some sort of component to display as their view.

Specified by:
getComponent in class AbstractView
Returns:
Component

setlevelCapacity

public void setlevelCapacity(int c)
Specified by:
setlevelCapacity in class AbstractView

getBackground

public java.awt.Color getBackground()
Description copied from class: AbstractView
Subclasses must indicate their background color so the parent can blend in if the display area is bigger than the view.

Specified by:
getBackground in class AbstractView
Returns:
Color

reloadData

public void reloadData()
Description copied from class: AbstractView
Subclasses must reload the annotation data and modify their displays accordingly.

Specified by:
reloadData in class AbstractView

loadConfiguration

public void loadConfiguration()
Specified by:
loadConfiguration in class AbstractView

main

public static void main(java.lang.String[] args,
                        java.lang.String algorithm)
This method tests the PathwayView class.

Parameters:
args -