zeus.visualiser.society
Class AnimationQueue

java.lang.Object
  extended byjava.lang.Thread
      extended byzeus.visualiser.society.AnimationQueue
All Implemented Interfaces:
java.lang.Runnable

public class AnimationQueue
extends java.lang.Thread


Nested Class Summary
 class AnimationQueue.Animation
           
(package private)  class AnimationQueue.AnimationQueueConstraint
           
(package private)  class AnimationQueue.AnimationQueueItem
           
(package private)  class AnimationQueue.ImageLabel
           
 
Field Summary
(package private) static int ARROWS
           
(package private) static int count
           
(package private) static int FLUSH_QUEUE_LIMIT
          if we attempt to add more than FLUSH_QUEUE_LIMIT items to the queue it gets emptied - to stop it overflowing.
(package private)  Graph graph
           
(package private)  int length
           
(package private) static int LETTER
           
(package private)  int mode
           
protected  java.util.Vector queue
           
protected  boolean running
           
(package private)  long speed
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AnimationQueue(Graph graph)
           
 
Method Summary
 void add(Performative msg, GraphNode sender, GraphNode receiver, java.awt.Color color)
           
private  void debug(java.lang.String str)
           
(package private)  void flush()
           
(package private)  int getLength()
           
(package private)  int getMode()
           
(package private)  long getSpeed()
           
 void run()
           
(package private)  void setLength(int L)
           
(package private)  void setMode(int s)
           
(package private)  void setSpeed(long s)
           
(package private)  void terminate()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LETTER

static final int LETTER
See Also:
Constant Field Values

ARROWS

static final int ARROWS
See Also:
Constant Field Values

FLUSH_QUEUE_LIMIT

static int FLUSH_QUEUE_LIMIT
if we attempt to add more than FLUSH_QUEUE_LIMIT items to the queue it gets emptied - to stop it overflowing.


count

static int count

speed

long speed

length

int length

mode

int mode

graph

Graph graph

queue

protected java.util.Vector queue

running

protected boolean running
Constructor Detail

AnimationQueue

public AnimationQueue(Graph graph)
Method Detail

flush

void flush()

setSpeed

void setSpeed(long s)

getSpeed

long getSpeed()

getMode

int getMode()

getLength

int getLength()

setMode

void setMode(int s)

setLength

void setLength(int L)

terminate

void terminate()

add

public void add(Performative msg,
                GraphNode sender,
                GraphNode receiver,
                java.awt.Color color)

debug

private void debug(java.lang.String str)

run

public void run()


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