uk.org.ogsadai.client.databrowser
Class GUIThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--uk.org.ogsadai.client.databrowser.GUIThread
All Implemented Interfaces:
java.lang.Runnable

public abstract class GUIThread
extends java.lang.Thread

Simple class to allow GUI thread to continue to update while some other task runs in another thread.

Author:
The OGSA-DAI Project Team

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
GUIThread()
          Create a new thread.
 
Method Summary
 void run()
           
abstract  java.lang.Object setup()
          Perform some setup.
 
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

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values
Constructor Detail

GUIThread

public GUIThread()
Create a new thread.

Method Detail

setup

public abstract java.lang.Object setup()
Perform some setup.

Returns:
nothing.

run

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