pop.gui
Class LoadAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--pop.gui.AbstractStep
              |
              +--pop.gui.LoadAction

public class LoadAction
extends AbstractStep

Loads a model from a file.

See Also:
Serialized Form

Inner Class Summary
 class LoadAction.ModelFileFilter
          A filter for .pop files.
 
Inner classes inherited from class pop.gui.AbstractStep
AbstractStep.StepFrame, AbstractStep.StepTableModel
 
Fields inherited from class pop.gui.AbstractStep
input_filename, manager, user_directory
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Constructor Summary
LoadAction()
          Constructs a new LoadAction
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Retrieves a filename from the user for loading the model.
 boolean got_file()
          True if the user has asked for a file to be opened.
 java.lang.String input_filename()
          Returns the input filename if it exists.
 
Methods inherited from class pop.gui.AbstractStep
choose_input_file, clear_done, confirm, has_manager, inform, set_manager, setUpIntegerEditor, show_done, timesRoman
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadAction

public LoadAction()
Constructs a new LoadAction
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Retrieves a filename from the user for loading the model.
Overrides:
actionPerformed in class javax.swing.AbstractAction

got_file

public boolean got_file()
True if the user has asked for a file to be opened.

input_filename

public java.lang.String input_filename()
Returns the input filename if it exists.