public class PheromoneViewer extends TKDefaultViewer
AbstractAgent.ReturnCode, AbstractAgent.State
cellSize
logger
Constructor and Description |
---|
PheromoneViewer() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate() |
Pheromone |
getSelectedPheromone() |
protected void |
initProbes() |
void |
paintPatch(Graphics g,
Patch p,
int x,
int y,
int index) |
protected void |
render(Graphics g) |
void |
setSelectedPheromone(Pheromone selectedPheromone) |
Pheromone |
setSelectedPheromone(String name) |
void |
setupFrame(JFrame frame) |
paintTurtle
end, executeThisViewer, getCellSize, getCommunity, getCurrentEnvironment, getHeight, getPatch, getPatchGrid, getSimulationTime, getWidth, setCellSize
getDisplayMenu, getDisplayPane, getFrame, getSynchroPaintingAction, getToolBar, isRendering, isSynchronousPainting, observe, setDisplayPane, setRendering, setRenderingInterval, setSynchronousPainting
addProbe, allProbes, getProbes, removeAllProbes, removeProbe, toString
broadcastMessage, broadcastMessageWithRole, bucketModeCreateGroup, bucketModeRequestRole, checkAgentAddress, compareTo, createGroup, createGroup, createGroup, createGroupIfAbsent, createGroupIfAbsent, createGroupIfAbsent, createGUIOnStartUp, destroyCommunity, destroyGroup, destroyRole, executeThisAgent, executeThisAgent, executeThisAgent, getAgentAddressIn, getAgentsWithRole, getAgentsWithRole, getAgentWithRole, getDistantAgentWithRole, getExistingCommunities, getExistingGroups, getExistingRoles, getKernelAddress, getLogger, getMadkitConfig, getMadkitProperty, getMadkitProperty, getMyGroups, getMyRoles, getName, getNetworkID, getOrganizationSnapShot, getReplyTo, getServerInfo, getSimpleNetworkID, getState, hasGUI, hashCode, hasRole, isAlive, isCommunity, isGroup, isKernelOnline, isMadkitPropertyTrue, isMessageBoxEmpty, isRole, killAgent, killAgent, launchAgent, launchAgent, launchAgent, launchAgent, launchAgent, launchAgent, launchAgent, launchAgent, launchAgentBucket, launchAgentBucket, launchAgentBucket, launchAgentBucket, launchNode, launchXmlAgents, leaveGroup, leaveRole, nextMessage, nextMessage, nextMessages, proceedEnumMessage, purgeMailbox, receiveMessage, reload, requestRole, requestRole, sendMessage, sendMessage, sendMessageWithRole, sendMessageWithRole, sendReply, sendReplyWithRole, setLogLevel, setMadkitProperty, setMadkitProperty, setName
protected void activate()
activate
in class AbstractGridViewer
protected void initProbes()
initProbes
in class AbstractGridViewer
public void setupFrame(JFrame frame)
setupFrame
in class AbstractGridViewer
protected void render(Graphics g)
render
in class TKDefaultViewer
public void paintPatch(Graphics g, Patch p, int x, int y, int index)
paintPatch
in class TKDefaultViewer
public Pheromone getSelectedPheromone()
public void setSelectedPheromone(Pheromone selectedPheromone)