lab4lib
Class UnidentifiedCellA

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

public class UnidentifiedCellA
extends Object
implements ICell

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

Author:
Carl G. Alphonce Created on: Sep 22, 2006

Constructor Summary
UnidentifiedCellA(DrawingCanvas canvas)
          Creates a new instance of UnidentifiedCellA
 
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

UnidentifiedCellA

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

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()