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
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 javax.swing.AbstractAction |
changeSupport,
enabled |
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 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 |
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.
MigrationAction
public MigrationAction()
- Constructs a new MigrationAction.
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).