Package eu.su.mas.dedale.env.gs
Class ObserverOfAgents
java.lang.Object
eu.su.mas.dedale.env.gs.ObserverOfAgents
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
Class used by the GUI to keep track of all the agents update
- Author:
- hc
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAgent2Track
(String agentName) void
void
removeAgent2Track
(String agentName) toString()
-
Constructor Details
-
ObserverOfAgents
public ObserverOfAgents()
-
-
Method Details
-
addAgent2Track
-
removeAgent2Track
-
getDataOn
- Parameters:
agentName
- name of the agent we are looking to observe- Returns:
- the element or null if not existing
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
toString
-