gov.nih.nlm.mms
Class ConceptOutputStreamAction

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

public class ConceptOutputStreamAction
extends AbstractAction

Used to change the output stream. It is attached to the MetamorphoSysGUI "Browse" button in the "Output Options" tab.

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

Field Summary
protected  JPanel content_panel
           
protected  MetamorphoSysGUI gui
           
protected  JTextField mmsys_output_stream_field
           
protected  UserConfiguration user_configuration
           
 
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
ConceptOutputStreamAction(MetamorphoSysGUI gui, JTextField cisf, JPanel content_panel)
          Instantiates the action.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Set the ConceptOutputStream.
 
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
 

Field Detail

mmsys_output_stream_field

protected JTextField mmsys_output_stream_field

gui

protected MetamorphoSysGUI gui

user_configuration

protected UserConfiguration user_configuration

content_panel

protected JPanel content_panel
Constructor Detail

ConceptOutputStreamAction

public ConceptOutputStreamAction(MetamorphoSysGUI gui,
                                 JTextField cisf,
                                 JPanel content_panel)
Instantiates the action.

Parameters:
gui - the MetamorphoSysGUI
cisf - the JTextField whose value is the output location
content_panel - the JPanel that changes on the gui when the output stream changes
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Set the ConceptOutputStream.

Parameters:
e - an ActionEvent


Copyright ©2005