fipaos.platform.dfgui.swing
Class SwingDFGUIAgent
java.lang.Object
|
+--fipaos.agent.FIPAOSAgent
|
+--fipaos.platform.dfgui.DFGUIAgent
|
+--fipaos.platform.dfgui.swing.SwingDFGUIAgent
- All Implemented Interfaces:
- ConversationListener
- public class SwingDFGUIAgent
- extends DFGUIAgent
This is the DF GUI agent that uses Java Swing GUI to display controls
for DF(s).
Constructor Summary |
SwingDFGUIAgent(java.lang.String platform_profile,
java.lang.String name,
java.lang.String owner)
Creates new SwingDFGUI. |
Methods inherited from class fipaos.agent.FIPAOSAgent |
addNewProtocol, deregisterWithAMS, deregisterWithDF, forward, forward, getAID, getCM, getCurrentConversation, getHAP, getLocalAMS, getLocalAMSAID, getLocalDF, getLocalDFAID, getNewConversation, getOwnership, getPlatformProfile, getProfile, getState, isShutdown, knowsProtocol, notify, notify, notifyDone, notifyError, notifyMessageInEndedConversation, notifyMessageUndeliverable, notifyTimeout, registeredWith, registeredWithAMS, registeredWithDF, registerWithAMS, registerWithAMS, registerWithAMS, registerWithAMS, registerWithDF, registerWithDF, registerWithDF, registerWithDF, sendNotUnderstood, sendNotUnderstood, setListenerTask, setMessageSender, startPushing, waitForPushLock |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwingDFGUIAgent
public SwingDFGUIAgent(java.lang.String platform_profile,
java.lang.String name,
java.lang.String owner)
- Creates new SwingDFGUI.
Instansiates a DFGUIFrame that will start up the actual GUI.
- Parameters:
platform_profile
- location of the platform profilename
- name of the agentowner
- owner of the agent
shutdown
public void shutdown()
- Method to cleanly kill off Agent
- Overrides:
shutdown
in class DFGUIAgent
activate
public void activate()
- Invoked when GUI should be shown
- Overrides:
activate
in class FIPAOSAgent
registered
public void registered(AgentID aid,
DFAgentDescription description)
- Notification from the super class when agent has been registered.
- Overrides:
registered
in class DFGUIAgent
- Parameters:
aid
- AID of the DF this happens withdescription
- the description of the agent registered
deregistered
public void deregistered(AgentID aid,
DFAgentDescription description)
- Notification from the super class when agent has deregistered.
- Overrides:
deregistered
in class DFGUIAgent
- Parameters:
aid
- AID of the DF this agent has deregisted fromdescription
- description of the agent deregistered
modified
public void modified(AgentID aid,
DFAgentDescription description)
- Notification from the super class when agent has been modified.
- Overrides:
modified
in class DFGUIAgent
- Parameters:
aid
- AID of the DF the agent has been modified ondescription
- the description of the modified agent