DefaultAsyncTask Class
- public abstract class DefaultAsyncTask
extends Object
implements IAsyncTask
Implements the IAsyncTask interface by overriding everything except
for runBackground. It records the manager in a protected variable.
-
Hierarchy
-
Object
DefaultAsyncTask
-
All Implemented Interfaces
-
IAsyncTask
public void |
-
cleanup ()
- Called on the foreground (AWT) thread after either
runForeground or interrupt is called.
|
public void |
-
interrupt ()
- Called instead of runForeground if this thread is
interrupted.
|
public abstract void |
-
runBackground ()
- Performs the part of processing that happens on the
background thread.
|
public void |
-
runForeground ()
- Performs the part of processing that happens on the
foreground (AWT) thread.
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_svc
protected AsyncTaskSvc.I
_svc
DefaultAsyncTask
public DefaultAsyncTask()
cleanup() Method
public void cleanup()
Description copied from IAsyncTask.cleanup()
Called on the foreground (AWT) thread after either
runForeground or interrupt is called.
interrupt() Method
public void interrupt()
Description copied from IAsyncTask.interrupt()
Called instead of runForeground if this thread is
interrupted.
runBackground() Method
public abstract void runBackground()
Description copied from IAsyncTask.runBackground()
Performs the part of processing that happens on the
background thread. If the thread's interrupted status
is set while this is running, it can throw a
AsyncTaskInterruptedException to unwind the stack.
runForeground() Method
public void runForeground()
Description copied from IAsyncTask.runForeground()
Performs the part of processing that happens on the
foreground (AWT) thread.