Package jade.tools.sniffer
Class Agent
- java.lang.Object
-
- jade.tools.sniffer.Agent
-
- All Implemented Interfaces:
Serializable
public class Agent extends Object implements Serializable
Adds properties and methods for representing agents on the Agent Canvas as rectangles.- See Also:
- Serialized Form
-
-
Field Detail
-
i
public static int i
-
hRet
public static final int hRet
- See Also:
- Constant Field Values
-
bRet
public static final int bRet
- See Also:
- Constant Field Values
-
yRet
public static final int yRet
- See Also:
- Constant Field Values
-
agentName
public String agentName
-
onCanv
public boolean onCanv
This flag is true for agents on canvas and false for agents out of the canvas.
-
-
Constructor Detail
-
Agent
public Agent(AID id)
Constructor for any named agent to be put on the Agent Canvas
-
Agent
public Agent(String localName)
-
Agent
public Agent()
Constructor for a special agent called Other which represents every agent not present on the Agent Canvas. It is displayed in color grey when every usual agent is displayed in color red and is the first on the left.
-
-