edu.iastate.metnet.birdseyeview.cellview
Class CellView

java.lang.Object
  extended by edu.iastate.metnet.birdseyeview.AbstractView
      extended by edu.iastate.metnet.birdseyeview.cellview.CellView

public class CellView
extends AbstractView

The CellView Class displays the Bird's Eye View of the gene products' location in cellular compartments.

Author:
Matt Studham Created Jan 24, 2005

Field Summary
 
Fields inherited from class edu.iastate.metnet.birdseyeview.AbstractView
algorithm, annotations, birdsEyeView, size, viewInfo
 
Constructor Summary
CellView(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()
          load the configuration and repaint (non-Javadoc)
static void main(java.lang.String[] args)
          This method tests the CellView class.
 void reloadData()
          Subclasses must reload the annotation data and modify their displays accordingly.
 void setlevelCapacity(int c)
           
 void toggleMapLabels(boolean labelsOn)
          This method does nothing by default.
 
Methods inherited from class edu.iastate.metnet.birdseyeview.AbstractView
getLayout, getViewInfo, goDown, goUp, loadData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellView

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

Parameters:
vi -
bev -
anns -
s -
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

toggleMapLabels

public void toggleMapLabels(boolean labelsOn)
Description copied from class: AbstractView
This method does nothing by default. Subclasses must override to do something when the "map labels" button is pressed.

Overrides:
toggleMapLabels in class AbstractView

loadConfiguration

public void loadConfiguration()
load the configuration and repaint (non-Javadoc)

Specified by:
loadConfiguration in class AbstractView
See Also:
AbstractView.loadConfiguration()

main

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

Parameters:
args -