|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.colorado.cs.ns2.animation.Animator
public class Animator
The Animator Class spawns a new Thread to draw the animated Packets.
Field Summary | |
---|---|
private Animate |
animate
A reference to the primary animation object. |
private static long |
serialVersionUID
Default serial version UID. |
private static java.lang.Thread |
thread
A thread in which to execute the simulation animation. |
Constructor Summary | |
---|---|
Animator(DrawableMover mover,
java.awt.Container contentPane)
Constructor. |
Method Summary | |
---|---|
static void |
stopAnimation()
Kills the Animation Thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private Animate animate
private static java.lang.Thread thread
Constructor Detail |
---|
public Animator(DrawableMover mover, java.awt.Container contentPane)
mover
- - Reference to the DrawableMover ObjectcontentPane
- - Reference to the JFrame's Content Pane.Method Detail |
---|
public static void stopAnimation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |