Class ImageThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--ImageThread
All Implemented Interfaces:
java.lang.Runnable

public class ImageThread
extends java.lang.Thread


Field Summary
(package private)  ImageJob currentjob
           
(package private) static java.util.HashMap jobset
           
 boolean kill
           
(package private) static java.util.LinkedList newjobs
           
static int paintcnt
           
static int paintinterval
           
(package private) static ImageThread thread
           
static java.util.HashSet users
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
(package private) ImageThread()
           
 
Method Summary
static void addUser(java.lang.Object user)
           
static void addUsers(java.util.HashSet newusers)
           
static ImageJob loadNow(ImageJob job)
           
static void paintUsers()
           
 void run()
           
static void showState()
           
static ImageJob startLoad(ImageJob job, java.awt.Component user)
           
static void stopLoading()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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

newjobs

static java.util.LinkedList newjobs

jobset

static java.util.HashMap jobset

thread

static ImageThread thread

currentjob

ImageJob currentjob

users

public static java.util.HashSet users

paintcnt

public static int paintcnt

paintinterval

public static int paintinterval

kill

public boolean kill
Constructor Detail

ImageThread

ImageThread()
Method Detail

showState

public static void showState()

stopLoading

public static void stopLoading()

startLoad

public static ImageJob startLoad(ImageJob job,
                                 java.awt.Component user)

paintUsers

public static void paintUsers()

addUsers

public static void addUsers(java.util.HashSet newusers)

addUser

public static void addUser(java.lang.Object user)

loadNow

public static ImageJob loadNow(ImageJob job)

run

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