net.sf.tomp.el.author.gui
Class Author.MenuListener

java.lang.Object
  extended by net.sf.tomp.el.author.gui.Author.MenuListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Enclosing class:
Author

public class Author.MenuListener
extends java.lang.Object
implements java.awt.event.ActionListener

ActionListener for "File" menu.

Author:
RNDr. Tomáš Pitner, Ph.D.

Constructor Summary
Author.MenuListener()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Recognizes the performed action in menu item "File": Select - calls selectDir() to let user select a course tree Save - calls io.saveCourseTree() to save the course tree Exit - calls io.saveCourseTree() to save the course tree, then closes the application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Author.MenuListener

public Author.MenuListener()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Recognizes the performed action in menu item "File": Select - calls selectDir() to let user select a course tree Save - calls io.saveCourseTree() to save the course tree Exit - calls io.saveCourseTree() to save the course tree, then closes the application.

Specified by:
actionPerformed in interface java.awt.event.ActionListener