|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsim.portrayal.SimplePortrayal2D
sim.portrayal.simple.OvalPortrayal2D
biosim.app.twostateants.FoodPortrayal
public class FoodPortrayal
| Field Summary | |
|---|---|
Body |
body
|
Simulation |
sim
|
| Fields inherited from class sim.portrayal.simple.OvalPortrayal2D |
|---|
filled, offset, paint, scale |
| Fields inherited from class sim.portrayal.SimplePortrayal2D |
|---|
TYPE_HIT_OBJECT, TYPE_SELECTED_OBJECT |
| Constructor Summary | |
|---|---|
FoodPortrayal(Simulation sim,
java.lang.Object body)
|
|
| Method Summary | |
|---|---|
void |
draw(java.lang.Object object,
java.awt.Graphics2D graphics,
sim.portrayal.DrawInfo2D info)
|
double |
orientation2D()
|
| Methods inherited from class sim.portrayal.simple.OvalPortrayal2D |
|---|
hitObject |
| Methods inherited from class sim.portrayal.SimplePortrayal2D |
|---|
getInspector, getName, getStatus, handleMouseEvent, setSelected |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Simulation sim
public Body body
| Constructor Detail |
|---|
public FoodPortrayal(Simulation sim,
java.lang.Object body)
| Method Detail |
|---|
public double orientation2D()
orientation2D in interface sim.portrayal.Oriented2D
public void draw(java.lang.Object object,
java.awt.Graphics2D graphics,
sim.portrayal.DrawInfo2D info)
draw in interface sim.portrayal.Portrayal2Ddraw in class sim.portrayal.simple.OvalPortrayal2D
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||