pop.gui
Class MigrationAction

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

public class MigrationAction
extends DataAction

Assembles migration 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
 
Field Summary
static int FULL_FILE
          Migration file is in full form.
static int SPREAD_FILE
          Migration file requires spreading to full form.
 
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
MigrationAction()
          Constructs a new MigrationAction.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Retrieves migration 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
 

Field Detail

SPREAD_FILE

public static final int SPREAD_FILE
Migration file requires spreading to full form.

FULL_FILE

public static final int FULL_FILE
Migration file is in full form.
Constructor Detail

MigrationAction

public MigrationAction()
Constructs a new MigrationAction.
Method Detail

actionPerformed

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