pop.gui
Class PopulationAction

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

public class PopulationAction
extends DataAction

Assembles initial population sizes.

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
PopulationAction()
          Constructs a new PopulationAction.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Retrieves population data or a file name from the user.
 DataFactory factory()
          Returns the PopulationSizesFactory if it exists (null otherwise).
 boolean got_factory()
          True if a PopulationSizesFactory has been created.
 boolean got_file()
          True if user asked for a file to be opened.
 
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

PopulationAction

public PopulationAction()
Constructs a new PopulationAction.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Retrieves population 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_factory

public boolean got_factory()
True if a PopulationSizesFactory has been created.

factory

public DataFactory factory()
Returns the PopulationSizesFactory if it exists (null otherwise).