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

Quick Search    Search Deep

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

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

public class ThinController
extends BaseController


Field Summary
private  java.lang.Object appMonitor
           
private  boolean batch
          Holds value of property batch.
protected  boolean finished
           
protected  boolean isGui
          Holds value of property isGui.
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
ThinController()
           
ThinController(boolean isGui)
          Creates a ThinController, specifying whether this is a graphical controller or not.
 
Method Summary
 void exitSim()
          Exits a simulation.
 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.
 
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

isGui

protected boolean isGui
Holds value of property isGui.


batch

private boolean batch
Holds value of property batch.


finished

protected volatile boolean finished

appMonitor

private java.lang.Object appMonitor
Constructor Detail

ThinController

public ThinController()

ThinController

public ThinController(boolean isGui)
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()

exitSim

public void exitSim()
Exits a simulation.


onTickCountUpdate

protected void onTickCountUpdate()

simEventPerformed

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


isGui

public boolean isGui()
Getter for property gui.


setGui

public void setGui(boolean gui)
Setter for property gui.


isBatch

public boolean isBatch()
Getter for property batch.


setBatch

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