|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmadkit.kernel.AbstractAgent
madkit.kernel.Agent
madkit.docbrowser.DocBrowserAgent
public class DocBrowserAgent
Field Summary | |
---|---|
static java.lang.String |
community
|
static java.lang.String |
DOC_BROWSER_ROLE
|
static java.lang.String |
group
|
Constructor Summary | |
---|---|
DocBrowserAgent()
|
|
DocBrowserAgent(java.io.File madkitDir)
|
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. |
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 |
live()
This method defines the main behavior for threaded agents. |
Methods inherited from class madkit.kernel.Agent |
---|
connectAgencyToAgency, createPlace, createPlace, enableMobility, enableMobility, exitImmediatlyOnKill, getAgencyNamed, joinPlace, joinPlace, joinPlace, pause, receiveMessage, run, waitNextMessage, waitNextMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String community
public static final java.lang.String group
public static final java.lang.String DOC_BROWSER_ROLE
Constructor Detail |
---|
public DocBrowserAgent()
public DocBrowserAgent(java.io.File madkitDir)
Method Detail |
---|
public void live()
Agent
live
in class Agent
public void activate()
AbstractAgent
activate
in class AbstractAgent
public void end()
AbstractAgent
end
in class AbstractAgent
public void initGUI()
AbstractAgent
initGUI
in class AbstractAgent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |