client.gui
Class ZoomAnimationGenerator

java.lang.Object
  extended by client.gui.ZoomAnimationGenerator
All Implemented Interfaces:
java.lang.Runnable

public class ZoomAnimationGenerator
extends java.lang.Object
implements java.lang.Runnable

Generates the images needed for Animation of zoom progress in the Mandelbrot Set

Author:
Mark Wiley

Field Summary
static int NUM_FRAMES
          The number of frames found between each zoom point
static java.lang.String ROOT_ANIMATION_PATH
          Path to the default location of all saved animations
 
Constructor Summary
ZoomAnimationGenerator(java.util.ArrayList<MandelbrotGUITask> tasks, java.lang.String path, Client2Server server, RemoteListenerImpl remoteListener)
          Creates a new ZoomAnimationGenerator
 
Method Summary
 void run()
          Runs this Zoom Animation Generator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROOT_ANIMATION_PATH

public static final java.lang.String ROOT_ANIMATION_PATH
Path to the default location of all saved animations

See Also:
Constant Field Values

NUM_FRAMES

public static final int NUM_FRAMES
The number of frames found between each zoom point

See Also:
Constant Field Values
Constructor Detail

ZoomAnimationGenerator

public ZoomAnimationGenerator(java.util.ArrayList<MandelbrotGUITask> tasks,
                              java.lang.String path,
                              Client2Server server,
                              RemoteListenerImpl remoteListener)
Creates a new ZoomAnimationGenerator

Parameters:
tasks - The zoom tasks needed to generate the animation.
path - The path to write image files to.
Method Detail

run

public void run()
Runs this Zoom Animation Generator

Specified by:
run in interface java.lang.Runnable