gov.nih.nlm.mms
Class EnableFilterAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bygov.nih.nlm.mms.EnableFilterAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable

public class EnableFilterAction
extends AbstractAction

Handles enabling and disabling of filters. Used for the File->Enable/Disable Filters menu of MetamorphoSysGUI.

Author:
Brian Carlsen, Deborah Shapiro
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
EnableFilterAction(MetamorphoSysGUI gui, MetamorphoSys mms)
          Instantiates an EnableFilterAction.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Present user with a dialog for selecting Filters to enable or disable.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnableFilterAction

public EnableFilterAction(MetamorphoSysGUI gui,
                          MetamorphoSys mms)
Instantiates an EnableFilterAction.

Parameters:
gui - the MetamorphoSysGUI
mms - MetamorphoSys
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Present user with a dialog for selecting Filters to enable or disable. Once selections are made, enact the user selections.

Parameters:
e - an ActionEvent


Copyright ©2005