generation
Class MenuToolBarListener

java.lang.Object
  extended by generation.MenuToolBarListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.ItemListener, java.util.EventListener

public class MenuToolBarListener
extends java.lang.Object
implements java.awt.event.ActionListener, java.awt.event.ItemListener

The listener for menu- and toolbar-actions

Author:
Markus Krebs

Constructor Summary
MenuToolBarListener(Exercise exercise)
          Creates the listener for menu and toolbar-actions
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void itemStateChanged(java.awt.event.ItemEvent e)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuToolBarListener

public MenuToolBarListener(Exercise exercise)
Creates the listener for menu and toolbar-actions

Parameters:
exercise - Exercise
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener