crw.framework
Class AppletLogic

java.lang.Object
  |
  +--crw.framework.AppletLogic
All Implemented Interfaces:
IAppletLogic

public class AppletLogic
extends java.lang.Object
implements IAppletLogic

The applet logic holder It contians all the key data and the applet states it is a singleton class


Field Summary
protected static Algorithm algorithm
          an object of the Algorithm class for this applet.
static java.lang.Thread runner
          the animation Thread in this applet
 
Constructor Summary
AppletLogic()
           
 
Method Summary
static void init()
          initialize the applet logic set the initial variable values set the applet state here
static void setAlgorithm(Algorithm alg)
          set the actual Algorithm currently used in this appelt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

algorithm

protected static Algorithm algorithm
an object of the Algorithm class for this applet.

runner

public static java.lang.Thread runner
the animation Thread in this applet
Constructor Detail

AppletLogic

public AppletLogic()
Method Detail

setAlgorithm

public static void setAlgorithm(Algorithm alg)
set the actual Algorithm currently used in this appelt

init

public static void init()
initialize the applet logic set the initial variable values set the applet state here