|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rubecula.darwin.visualization.swing.Visualization_
com.rubecula.darwin.visualization.swing.Visualization_VisualizableListener
public class Visualization_VisualizableListener
Implementer of VisualizableListener which updates a visualization
model.
| Field Summary |
|---|
| Fields inherited from class com.rubecula.darwin.visualization.swing.Visualization_ |
|---|
LOG |
| Constructor Summary | |
|---|---|
Visualization_VisualizableListener(VisualizationFactory factory)
Primary constructor. |
|
| Method Summary | |
|---|---|
void |
onChange(Visualizable source,
java.lang.Object context)
This method loops through all the organisms in population p
and, for each one, and, if it is not viable [either just born or newly
dead], either removes the corresponding individual, or (providing that
the age is 0) adds a newly created individual. |
| Methods inherited from class com.rubecula.darwin.visualization.swing.Visualization_ |
|---|
getVisualizerTabs, setVisualizerTabs, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Visualization_VisualizableListener(VisualizationFactory factory)
factory - | Method Detail |
|---|
public void onChange(Visualizable source,
java.lang.Object context)
p
and, for each one, and, if it is not viable [either just born or newly
dead], either removes the corresponding individual, or (providing that
the age is 0) adds a newly created individual.
onChange in interface VisualizableListenersource - the source of the change, usually a population.context - XXXVisualizableListener.onChange(Visualizable,
Object),
VisualizerTabs.getVisualizer(String),
Visualizer.getModel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||