Class edu.umn.geom.IFSoft.ItThread
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.umn.geom.IFSoft.ItThread

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----edu.umn.geom.IFSoft.ItThread

public class ItThread
extends Thread
This thread iterates the fractal and draws the resulting points to the IfsPanel which called it. It also writes the points to the graphics context of an offscreen image which it is passed. This class is always used from inside an IfsPanel.
See Also:
IfsPanel

Variable Index

 o pause
True if we need to sleep occasionally, like we do if we're an applet running on an X11 version of netscape 2.0.

Constructor Index

 o ItThread(String, IfsPanel, Graphics, int)

Method Index

 o run()
Do the iteration and graphics.

Variables

 o pause
  public boolean pause
True if we need to sleep occasionally, like we do if we're an applet running on an X11 version of netscape 2.0.

Constructors

 o ItThread
  public ItThread(String name,
                  IfsPanel ifspan,
                  Graphics background,
                  int iterations)
Parameters:
name - The name of this thread.
ifspan - The IfsPanel corresponding to this instance.
background - The context of an offscreen image.
iterations - Number of times to iterate before exiting. -1 means never stop.

Methods

 o run
  public void run()
Do the iteration and graphics.
Overrides:
run in class Thread

All Packages  Class Hierarchy  This Package  Previous  Next  Index