Method Summary |
|
abstract public Object | construct() Compute the value to be returned by the get method. |
abstract public void | finished(Object value) Called on the event dispatching thread (not on the worker thread)
after the construct method has returned. |
protected synchronized Object | getValue() Get the value produced by the worker thread, or null if it
hasn't been constructed yet. |
final public void | run() Calls #construct on the current thread and invokes
#finished on the AWT event dispatcher thread. |
public void | start() Starts the Worker on an internal worker thread. |