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
Fields inherited from class javax.swing.AbstractAction |
changeSupport,
enabled |
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 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 |
PopulationAction
public PopulationAction()
- Constructs a new PopulationAction.
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).