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:

Constructor Index

 o PhasePanel(int)
Add each of the UI components needed to accept input.

Method Index

 o action(Event, Object)
Trap input events and determine which set of UI components should be visible based on the user's selections.
 o flushParameters()
Collect the contents of each UI component and store it in the ParameterDB.
 o loadParams()
This method is responsible for loading parameters on each of the phase panels after the user opens a parameter file.

Constructors

 o PhasePanel
  public PhasePanel(int num)
Add each of the UI components needed to accept input.
Parameters:
num - the phase number

Methods

 o 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
 o flushParameters
  public void flushParameters()
Collect the contents of each UI component and store it in the ParameterDB.
See Also:
ParameterDB
 o loadParams
  public void loadParams()
This method is responsible for loading parameters on each of the phase panels after the user opens a parameter file.