Package ec.display

Class SubpopulationPanel

All Implemented Interfaces:
EvolutionStateListener, Setup, ImageObserver, MenuContainer, Serializable, Accessible

public class SubpopulationPanel extends JPanel implements EvolutionStateListener, Setup
See Also:
  • Constructor Details

    • SubpopulationPanel

      public SubpopulationPanel(Console console, int subPopNum)
    • SubpopulationPanel

      public SubpopulationPanel(Console console, int subPopNum, boolean isDoubleBuffered)
      Parameters:
      isDoubleBuffered -
  • Method Details

    • postEvolution

      public void postEvolution(EvolutionStateEvent evt)
      Specified by:
      postEvolution in interface EvolutionStateListener
      Parameters:
      evt -
    • setup

      public void setup(EvolutionState state, Parameter base)
      Description copied from interface: Setup
      Sets up the object by reading it from the parameters stored in state, built off of the parameter base base. If an ancestor implements this method, be sure to call super.setup(state,base); before you do anything else.
      Specified by:
      setup in interface Setup