lab4lib
Class UnidentifiedCellB

java.lang.Object
  extended by lab4lib.UnidentifiedCellB
All Implemented Interfaces:
ICell

public class UnidentifiedCellB
extends Object
implements ICell

An unidentified cell that we can observe in our Cell Observation Room.

Author:
Adrienne Decker Created on: Sep 24, 2006

Constructor Summary
UnidentifiedCellB(DrawingCanvas canvas)
          Creates a new instance of UnidentifiedCellB
 
Method Summary
 void die()
          Creates the conditions under which a cell would die so that we can observe its death.
 void grow()
          Creates the conditions under which a cell can grow so that we can observe its growth.
 void stain(Color color)
          Stains the slide that the cell is on so that we can see it better.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnidentifiedCellB

public UnidentifiedCellB(DrawingCanvas canvas)
Creates a new instance of UnidentifiedCellB

Parameters:
canvas -
Method Detail

grow

public void grow()
Description copied from interface: ICell
Creates the conditions under which a cell can grow so that we can observe its growth.

Specified by:
grow in interface ICell
See Also:
ICell.grow()

stain

public void stain(Color color)
Description copied from interface: ICell
Stains the slide that the cell is on so that we can see it better.

Specified by:
stain in interface ICell
Parameters:
color -
See Also:
ICell.stain(cse115.graphics.colors.Color)

die

public void die()
Description copied from interface: ICell
Creates the conditions under which a cell would die so that we can observe its death.

Specified by:
die in interface ICell
See Also:
ICell.die()