Class FileMenuAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byFileMenuAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class FileMenuAction
extends javax.swing.AbstractAction

Listen to File Menu action and take actions. It will popup directory browing dialog or exit.

Author:
Lulin Song
See Also:
HMMToolMenu, Serialized Form

Field Summary
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
FileMenuAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent arg0)
          Pop up a dialog box to let user choose file or directory.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileMenuAction

public FileMenuAction()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent arg0)
Pop up a dialog box to let user choose file or directory. Allow user to save current preferences to user specified file or exit the program.