Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mrd.repast.control
Class ThinController  view ThinController download ThinController.java

java.lang.Object
  extended byBaseController
      extended byorg.mrd.repast.control.ThinController

public class ThinController
extends BaseController


Field Summary
private  boolean batch
          Holds value of property batch.
private  boolean gUI
          Holds value of property gUI.
protected  org.apache.commons.logging.Log log
           
private  int runCount
          Holds value of property runCount.
 
Constructor Summary
ThinController()
           
ThinController(boolean gUI)
          Creates a ThinController, specifying whether this is a graphical controller or not.
 
Method Summary
 void exitSim()
          Exits a simulation.
 long getRunCount()
           
 void initSim()
           
 boolean isBatch()
          Getter for property batch.
 boolean isGUI()
          Getter for property gUI.
protected  void onTickCountUpdate()
           
 void setBatch(boolean batch)
          Setter for property batch.
 void setGUI(boolean gUI)
          Setter for property gUI.
 void simEventPerformed(SimEvent evt)
          Listens for SimEvents and responds accordingly.
 void startSim()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.apache.commons.logging.Log log

batch

private boolean batch
Holds value of property batch.


gUI

private boolean gUI
Holds value of property gUI.


runCount

private int runCount
Holds value of property runCount.

Constructor Detail

ThinController

public ThinController()

ThinController

public ThinController(boolean gUI)
Creates a ThinController, specifying whether this is a graphical controller or not. The isGui parameter only determines what value is returned by the isGUI method, nothing more.

Method Detail

initSim

public void initSim()

startSim

public void startSim()

exitSim

public void exitSim()
Exits a simulation.


onTickCountUpdate

protected void onTickCountUpdate()

simEventPerformed

public void simEventPerformed(SimEvent evt)
Listens for SimEvents and responds accordingly.


isBatch

public boolean isBatch()
Getter for property batch.


setBatch

public void setBatch(boolean batch)
Setter for property batch.


getRunCount

public long getRunCount()

isGUI

public boolean isGUI()
Getter for property gUI.


setGUI

public void setGUI(boolean gUI)
Setter for property gUI.