jade.tools.sniffer
Class Agent

java.lang.Object
  |
  +--jade.tools.sniffer.Agent

public class Agent
extends java.lang.Object
implements java.io.Serializable

Adds properties and methods for representing agents on the Agent Canvas as rectangles.

See Also:
Serialized Form

Field Summary
 java.lang.String agentName
           
static int bRet
           
static int hRet
           
static int i
           
 boolean onCanv
          This flag is true for agents on canvas and false for agents out of the canvas.
static int yRet
           
 
Constructor Summary
Agent()
          Constructor for a special agent called Other which represents every agent not present on the Agent Canvas.
Agent(jade.core.AID id)
          Constructor for any named agent to be put on the Agent Canvas
Agent(java.lang.String localName)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i

public static int i

hRet

public static final int hRet

bRet

public static final int bRet

yRet

public static final int yRet

agentName

public java.lang.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(jade.core.AID id)
Constructor for any named agent to be put on the Agent Canvas

Agent

public Agent(java.lang.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.
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object