|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.lifl.jedi.gui.display.agentsNumber.AgentNumberNode
public class AgentNumberNode
Tree node used to display the numbers of instance of a particular agent family.
JEDI V 2.2 |
Created the 7th april 2009 |
Modified the 5th may 2009 |
Yoann Kubera |
SMAC Team (Systèmes Multi-Agents et Comportement) |
LIFL (Laboratoire d'Informatique Fondamentale de Lille) |
University of Lille, France |
Constructor Summary | |
---|---|
AgentNumberNode(java.lang.Class<? extends Agent> family)
Constructor of a node that represents the number of instances of a particular agent class. |
Method Summary | |
---|---|
java.lang.Class<? extends Agent> |
getFamily()
Gets the agent family associated with this GUI. |
int |
getInstanceNumber()
Gets the number of instances of agents from that family that lie in the simulation. |
void |
setInstanceNumber(int n)
Sets the number of instances of agents from that family that lie in the simulation. |
java.lang.String |
toString()
Defines what the label of the tree node displays. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AgentNumberNode(java.lang.Class<? extends Agent> family)
family
- The family for which the number of instances is represented
in this class.Method Detail |
---|
public java.lang.Class<? extends Agent> getFamily()
public int getInstanceNumber()
public void setInstanceNumber(int n)
n
- the new number of instances.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |