pop.gui
Class MortalityAction

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

public class MortalityAction
extends DataAction

Assembles mortality data.

See Also:
Serialized Form

Inner classes inherited from class pop.gui.DataAction
DataAction.DataFileFilter
 
Inner classes inherited from class pop.gui.AbstractStep
AbstractStep.StepFrame, AbstractStep.StepTableModel
 
Fields inherited from class pop.gui.DataAction
FILE_DATA, INTERACTIVE_DATA
 
Fields inherited from class pop.gui.AbstractStep
input_filename, manager, user_directory
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Constructor Summary
MortalityAction()
          Creates a new MortalityAction.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Retrieves mortality data or a file name from the user.
 boolean got_file()
          True if user asked for a file to be opened.
 boolean got_models()
          True if the user has entered data now stored in TableModels.
 javax.swing.table.AbstractTableModel[] table_models()
          Returns the TableModels if they exist (null otherwise).
 
Methods inherited from class pop.gui.DataAction
choose_input_file, input_filename, input_type
 
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

MortalityAction

public MortalityAction()
Creates a new MortalityAction.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Retrieves mortality data or a file name from the user.
Overrides:
actionPerformed in class javax.swing.AbstractAction

got_file

public boolean got_file()
True if user asked for a file to be opened.
Overrides:
got_file in class DataAction

got_models

public boolean got_models()
True if the user has entered data now stored in TableModels.

table_models

public javax.swing.table.AbstractTableModel[] table_models()
Returns the TableModels if they exist (null otherwise).