|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclient.gui.Animation
public class Animation
Animation displays an animation of a series of Mandelbrot solution images.
Constructor Summary | |
---|---|
Animation()
Creates a new instance of Animation |
|
Animation(javax.swing.JLabel target,
java.lang.String imagePath,
java.lang.String frameRate)
Creates a new instance of Animation |
Method Summary | |
---|---|
void |
run()
Runs the animation. |
void |
setFrameRate(java.lang.String frameRate)
Sets the frame rate for the animation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Animation()
public Animation(javax.swing.JLabel target, java.lang.String imagePath, java.lang.String frameRate)
target
- The JLabel being used to contain the AnimationimagePath
- The path to the series of animationsframeRate
- The rate at wich to switch between images.Method Detail |
---|
public void setFrameRate(java.lang.String frameRate)
frameRate
- The frame rate for the animation.public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |