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
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 |
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.
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