antsnest.gui
Class MasterMenuListener

java.lang.Object
  extended by antsnest.gui.MasterMenuListener
All Implemented Interfaces:
ActionListener, EventListener

public class MasterMenuListener
extends Object
implements ActionListener

Reacts to menu items in the master frame being clicked

Author:
Chris Clohosy

Constructor Summary
MasterMenuListener(ApplicationTasks appTasks)
          Constructs a new listener
 
Method Summary
 void actionPerformed(ActionEvent e)
          Alerts us of a menu item being selected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MasterMenuListener

public MasterMenuListener(ApplicationTasks appTasks)
Constructs a new listener

Parameters:
appTasks - something that performs application tasks
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Alerts us of a menu item being selected

Specified by:
actionPerformed in interface ActionListener
Parameters:
e - the event that caused this alert