|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmadkit.kernel.AbstractAgent
madkit.kernel.Watcher
dynamicbees.BeeWorldViewer
public class BeeWorldViewer
Constructor Summary | |
---|---|
BeeWorldViewer()
|
|
BeeWorldViewer(boolean b,
int w,
int h)
|
Method Summary | |
---|---|
void |
activate()
This method is initially called when the micro-kernel registers the agent. |
void |
end()
This method is called by the agent micro-kernel at the end of the agent lifecycle. |
boolean |
getShow()
|
void |
initGUI()
This method is called by the specific external graphic system (as the G-Box) to ask the agent to prepare a graphical interface. |
void |
observe()
|
void |
paintBees(java.awt.Graphics g)
|
void |
paintQueenBees(java.awt.Graphics g)
|
void |
setShow(boolean add)
|
Methods inherited from class madkit.kernel.Watcher |
---|
addProbe, addProbe, getProbes, removeAllProbes, removeProbe, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeeWorldViewer()
public BeeWorldViewer(boolean b, int w, int h)
Method Detail |
---|
public void setShow(boolean add)
public boolean getShow()
public void initGUI()
AbstractAgent
initGUI
in class AbstractAgent
public void paintBees(java.awt.Graphics g)
public void paintQueenBees(java.awt.Graphics g)
public void observe()
public void activate()
AbstractAgent
activate
in class AbstractAgent
public void end()
AbstractAgent
end
in class Watcher
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |