Class PaintBugWindow.PaintBugThread

java.lang.Object
  extended by java.lang.Thread
      extended by PaintBugWindow.PaintBugThread
All Implemented Interfaces:
Runnable
Enclosing class:
PaintBugWindow

 class PaintBugWindow.PaintBugThread
extends Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  PaintBug bug
           
(package private)  PaintBugWindow.WindowCanvas canvas
           
(package private)  double changeAngle
           
(package private)  Color color
           
(package private)  int commandKind
           
(package private)  double direction
           
(package private)  double distance
           
(package private)  boolean trailVisible
           
(package private)  int trailWidth
           
(package private)  double xPos
           
(package private)  double yPos
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
PaintBugWindow.PaintBugThread(PaintBug bug, PaintBugWindow.WindowCanvas canvas, double xPos, double yPos, double direction, double changeAngle, Color color)
           
PaintBugWindow.PaintBugThread(PaintBug bug, PaintBugWindow.WindowCanvas canvas, double xPos, double yPos, double direction, double distance, Color color, int trailWidth, boolean trailVisible)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bug

PaintBug bug

canvas

PaintBugWindow.WindowCanvas canvas

changeAngle

double changeAngle

color

Color color

commandKind

int commandKind

direction

double direction

distance

double distance

trailVisible

boolean trailVisible

trailWidth

int trailWidth

xPos

double xPos

yPos

double yPos
Constructor Detail

PaintBugWindow.PaintBugThread

public PaintBugWindow.PaintBugThread(PaintBug bug,
                                     PaintBugWindow.WindowCanvas canvas,
                                     double xPos,
                                     double yPos,
                                     double direction,
                                     double changeAngle,
                                     Color color)

PaintBugWindow.PaintBugThread

public PaintBugWindow.PaintBugThread(PaintBug bug,
                                     PaintBugWindow.WindowCanvas canvas,
                                     double xPos,
                                     double yPos,
                                     double direction,
                                     double distance,
                                     Color color,
                                     int trailWidth,
                                     boolean trailVisible)
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread