Class PhasePanel
Class PhasePanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----PhasePanel
- class PhasePanel
- extends Panel
This actually contains all of the UI components that accept breeding
parameters. It currently accepts the following lilgp parameters:
-
PhasePanel(int)
- Add each of the UI components needed to accept input.
-
action(Event, Object)
- Trap input events and determine which set of UI components should be
visible based on the user's selections.
-
flushParameters()
- Collect the contents of each UI component and store it in the
ParameterDB.
-
loadParams()
- This method is responsible for loading parameters on each of the phase panels
after the user opens a parameter file.
PhasePanel
public PhasePanel(int num)
- Add each of the UI components needed to accept input.
- Parameters:
- num - the phase number
action
public boolean action(Event event,
Object arg)
- Trap input events and determine which set of UI components should be
visible based on the user's selections.
- Overrides:
- action in class Component
flushParameters
public void flushParameters()
- Collect the contents of each UI component and store it in the
ParameterDB.
- See Also:
- ParameterDB
loadParams
public void loadParams()
- This method is responsible for loading parameters on each of the phase panels
after the user opens a parameter file.