Class SimpleIndividualPortrayal

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

public class SimpleIndividualPortrayal extends IndividualPortrayal
This portrayal uses a text pane to display the results of printIndividualForHumans(). It is the default portrayal.
See Also:
  • Constructor Details

    • SimpleIndividualPortrayal

      public SimpleIndividualPortrayal()
  • Method Details

    • portrayIndividual

      public void portrayIndividual(EvolutionState state, Individual individual)
      Specified by:
      portrayIndividual in class IndividualPortrayal
    • 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.