|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmadkit.kernel.AbstractAgent
edu.turtlekit2.Tk2Launcher
public class Tk2Launcher
The Launcher Agent of the TurtleKit2 platform.
Field Summary | |
---|---|
static String |
COMMUNITY
The default TurtleKit community |
Constructor Summary | |
---|---|
Tk2Launcher()
|
Method Summary | |
---|---|
void |
activate()
Launch the Tk2 GUI. |
String |
getGroupName(Document doc)
Checks existing MadKit groups to create the simulation group name. |
void |
newSimulation(String fileName)
Launch a new simulation |
Methods inherited from class madkit.kernel.AbstractAgent |
---|
broadcastMessage, broadcastMessage, connectedWithCommunity, createGroup, createGroup, debug, disposeMyGUI, end, foundGroup, getAddress, getAgentInformation, getAgentsWithRole, getAgentsWithRole, getAgentWithRole, getAgentWithRole, getAvailableCommunities, getBean, getController, getCurrentKernelAddress, getDebug, getExistingGroups, getExistingGroups, getExistingRoles, getExistingRoles, getGroups, getGUIObject, getMessageBoxSize, getMyGroups, getMyGroups, getMyRoles, getMyRoles, getName, getRoles, hasGUI, hashCode, initGUI, isBelongingToGroup, isBelongingToGroup, isCommunity, isGroup, isGroup, isMemberOf, isMemberOf, isMessageBoxEmpty, isRole, isRole, joinGroup, killAgent, launchAgent, launchAgent, leaveGroup, leaveGroup, leaveRole, leaveRole, nextMessage, print, println, receiveMessage, redisplayMyGUI, requestRole, requestRole, requestRole, restoreAgent, sendMessage, sendMessage, sendMessage, setBean, setController, setDebug, setGUIObject, setName, setOutput, setOutputWriter, toString, windowClosing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String COMMUNITY
Constructor Detail |
---|
public Tk2Launcher()
Method Detail |
---|
public void activate()
activate
in class madkit.kernel.AbstractAgent
TurtleKitGUI
public String getGroupName(Document doc)
doc
- - the simulation description file (XML)
public void newSimulation(String fileName)
fileName
- - the simulation fileName (.XML)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |