|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISwingWorker<T>
Interface that describes kinds of SwingWorkers that layers might want to use.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |