Jedit 4.1

edu.bsu.cs.gui
Class Animation

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--edu.bsu.cs.gui.Animation
All Implemented Interfaces:
Runnable

public class Animation
extends Thread

Acts as an animation player which takes a vector of AnimObject and plays their instructions on the target frame.

Since:
27 Jan 1998
Version:
11 Apr 2001
Author:
Aaron Nall
See Also:
AnimObject

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Animation(Vector newAnimation, JeditPanel target, boolean doDelay)
          Constructor for class Animation.
 
Method Summary
 void run()
          Run in a separate Thread and plays through the Vector passed to the constructor.
 
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
 

Constructor Detail

Animation

public Animation(Vector newAnimation,
                 JeditPanel target,
                 boolean doDelay)
Constructor for class Animation.

Parameters:
newAnimation - A vector of AnimObjects which will be played on the JeditPanel target.
target - The JEditPanel that newAnimation is played on.
doDelay - If true, the animation will not be instantaneous.
Method Detail

run

public void run()
Run in a separate Thread and plays through the Vector passed to the constructor.

Specified by:
run in interface Runnable
Overrides:
run in class Thread

Jedit 4.1