gov.nih.nlm.mms
Class ConceptInputStreamAction

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

public class ConceptInputStreamAction
extends AbstractAction

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

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

Field Summary
protected  JPanel content_panel
           
protected  MetamorphoSysGUI gui
           
protected  JTextField mmsys_input_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
ConceptInputStreamAction(MetamorphoSysGUI gui, JTextField cisf, JPanel content_panel)
          Instantiates the action.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Set the ConceptInputStream.
 
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_input_stream_field

protected JTextField mmsys_input_stream_field

gui

protected MetamorphoSysGUI gui

user_configuration

protected UserConfiguration user_configuration

content_panel

protected JPanel content_panel
Constructor Detail

ConceptInputStreamAction

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

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

actionPerformed

public void actionPerformed(ActionEvent e)
Set the ConceptInputStream.

Parameters:
e - an ActionEvent


Copyright ©2005