skrueger.gol
Class GameOfLife

java.lang.Object
  extended by AbstractNamedObject
      extended by edu.bonn.xulu.model.AbstractXuluModel
          extended by edu.bonn.xulu.model.AbstractStepModel
              extended by skrueger.gol.GameOfLife
All Implemented Interfaces:
StepModel, XuluModel

public class GameOfLife
extends AbstractStepModel


Field Summary
 
Fields inherited from class edu.bonn.xulu.model.AbstractStepModel
stepCount
 
Fields inherited from class edu.bonn.xulu.model.AbstractXuluModel
contManager, disposed, events, initialised, listeners, modelResourceProvider, running, statusOut, stopped
 
Constructor Summary
GameOfLife()
           
 
Method Summary
 void performModelDispose()
          Implementiert die eigentliche Freigabe der Modell-Ressourcen, indem alle internen Modell-Ressourcen aus dem Speicher geloescht und die externen wieder frei gegeben werden.
 void performModelInit()
          Muss die eigentliche Initialisierung des Modells implementieren und alle internen Modell-Ressourcen auf einen Ausgangszustand zurueck setzen, so dass das Modell komplett neu gestartet werden kann.
 void performModelStep(int stepNo)
          Implementiert einen Modellschritt.
 
Methods inherited from class edu.bonn.xulu.model.AbstractStepModel
fireModelStepFinished, fireModelStepStarted, getStepCount, performModelStart
 
Methods inherited from class edu.bonn.xulu.model.AbstractXuluModel
addModelListener, checkBreakingCommands, determineCaption, disposeModel, fireModelDisposed, fireModelEvent, fireModelInitialised, fireModelStarted, fireModelStopped, getContentManager, getEvents, getModelSpecificGUI, getResourceProvider, getStatusOut, initModel, isDisposed, isInitialised, isRunning, isStopped, performError, releaseAccess, removeModelListener, resetCaptions, setStatusOut, startModelling, stopModelling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.bonn.xulu.model.XuluModel
addModelListener, disposeModel, getContentManager, getEvents, getModelSpecificGUI, getResourceProvider, getStatusOut, initModel, isDisposed, isInitialised, isRunning, isStopped, performError, removeModelListener, setStatusOut, startModelling, stopModelling
 

Constructor Detail

GameOfLife

public GameOfLife()
Method Detail

performModelStep

public void performModelStep(int stepNo)
Description copied from class: AbstractStepModel
Implementiert einen Modellschritt.

Specified by:
performModelStep in interface StepModel
Specified by:
performModelStep in class AbstractStepModel
Parameters:
stepNo - Nummer des Modellschritts (beginnend bei 1)

performModelDispose

public void performModelDispose()
Description copied from class: AbstractXuluModel
Implementiert die eigentliche Freigabe der Modell-Ressourcen, indem alle internen Modell-Ressourcen aus dem Speicher geloescht und die externen wieder frei gegeben werden.

Specified by:
performModelDispose in class AbstractXuluModel

performModelInit

public void performModelInit()
Description copied from class: AbstractXuluModel
Muss die eigentliche Initialisierung des Modells implementieren und alle internen Modell-Ressourcen auf einen Ausgangszustand zurueck setzen, so dass das Modell komplett neu gestartet werden kann.

Specified by:
performModelInit in class AbstractXuluModel