Class EditMenuAction

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

public class EditMenuAction
extends javax.swing.AbstractAction

Listen to Edit Menu action and take actions. It will popup directory browing dialog to let user choose stationsInfo.txt file to edit. It will show sample stationsInfo.txt file.

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
EditMenuAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent arg0)
          Pop up a dialog box to let user choose choose stationsInfo.txt file to edit.
 
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

EditMenuAction

public EditMenuAction()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent arg0)
Pop up a dialog box to let user choose choose stationsInfo.txt file to edit. It will show sample stationsInfo.txt file.