net.aerith.misao.gui
Class MainFrame.AgentListener

java.lang.Object
  |
  +--net.aerith.misao.gui.MainFrame.AgentListener
Enclosing class:
MainFrame

protected class MainFrame.AgentListener
extends java.lang.Object
implements java.awt.event.ActionListener, java.lang.Runnable

The AgentListener is a listener class of menu selection to open the desktop for operation using an agent.


Field Summary
protected  Agent agent
          The agent.
 
Constructor Summary
MainFrame.AgentListener(Agent agent)
          Constructs an AgentListener.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Invoked when one of the menus is selected.
 void run()
          Runs this thread.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

agent

protected Agent agent
The agent.
Constructor Detail

MainFrame.AgentListener

public MainFrame.AgentListener(Agent agent)
Constructs an AgentListener.
Parameters:
agent - the agent.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Invoked when one of the menus is selected.
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - contains the selected menu item.

run

public void run()
Runs this thread.
Specified by:
run in interface java.lang.Runnable