antsnest.gui
Class MasterMenuListener
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MasterMenuListener
public MasterMenuListener(ApplicationTasks appTasks)
- Constructs a new listener
- Parameters:
appTasks - something that performs application tasks
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