|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lab3lib.UnidentifiedCellB
public class UnidentifiedCellB
An unidentified cell that we can observe in our Cell Observation Room.
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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnidentifiedCellB(DrawingCanvas canvas)
canvas
- Method Detail |
---|
public void grow()
ICell
grow
in interface ICell
ICell.grow()
public void stain(Color color)
ICell
stain
in interface ICell
color
- ICell.stain(graphics.colors.Color)
public void die()
ICell
die
in interface ICell
ICell.die()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |