public interface ISwingWorker<T>
Modifier and Type | Method and Description |
---|---|
T |
construct()
Compute the value to be returned by the
get method. |
void |
execute()
For compatibility with old versions of SwingWorker, calls start().
|
void |
finished()
Called on the event dispatching thread (not on the worker thread) after
the
construct method has returned. |
T |
get()
Return the value created by the
construct method. |
void |
interrupt()
A new method that interrupts the worker thread.
|
boolean |
isInterrupted() |
void |
start()
Start the worker thread.
|
T construct()
get
method.void finished()
construct
method has returned.void interrupt()
boolean isInterrupted()
T get()
construct
method. Returns
null if either the constructing thread or the current thread was
interrupted before a value was produced.construct
methodvoid start()
void execute()
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details