zeus.visualiser.society
Class AnimationManager

java.lang.Object
  extended byzeus.visualiser.society.AnimationManager

public class AnimationManager
extends java.lang.Object


Field Summary
protected  AgentContext context
           
protected  java.util.Hashtable dynamicColor
           
protected  Graph graph
           
static java.util.Hashtable MessageColor
           
protected  AnimationQueue queue
           
 
Constructor Summary
AnimationManager(AgentContext context, Graph graph)
           
 
Method Summary
 void animate(Performative msg)
           
private  void debug(java.lang.String str)
           
 void flushAnimator()
           
 int getMode()
           
 long getSpeed()
           
protected  java.awt.Color nextColor()
           
protected  java.awt.Color selectColor(Performative msg)
           
protected  java.awt.Color selectDynamicColor(Performative msg)
           
 void setMode(int mode)
           
 void setSpeed(long speed)
           
 void terminate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MessageColor

public static final java.util.Hashtable MessageColor

queue

protected AnimationQueue queue

dynamicColor

protected java.util.Hashtable dynamicColor

context

protected AgentContext context

graph

protected Graph graph
Constructor Detail

AnimationManager

public AnimationManager(AgentContext context,
                        Graph graph)
Method Detail

terminate

public void terminate()

flushAnimator

public void flushAnimator()

setMode

public void setMode(int mode)

getMode

public int getMode()

setSpeed

public void setSpeed(long speed)

getSpeed

public long getSpeed()

debug

private void debug(java.lang.String str)

animate

public void animate(Performative msg)

selectColor

protected java.awt.Color selectColor(Performative msg)

selectDynamicColor

protected java.awt.Color selectDynamicColor(Performative msg)

nextColor

protected java.awt.Color nextColor()


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.