|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jurvis.swing.app.JvAppWorker
public abstract class JvAppWorker
A wrapping of JvSwingWorker that automatically sets the
enclosing application to busy.
| Constructor Summary | |
|---|---|
JvAppWorker(Component appChild)
Construct a new JvAppWorker. |
|
| Method Summary | |
|---|---|
abstract Object |
construct()
Compute the value to be returned by the get method. |
void |
finished()
Called on the event dispatching thread (not on the worker thread) after the construct method has returned. |
Object |
get()
Return the value created by the construct method. |
void |
start()
Start the worker thread. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JvAppWorker(Component appChild)
JvAppWorker.
appChild - a child component of some application| Method Detail |
|---|
public Object get()
construct method.
Returns null if either the constructing thread or the current
thread was interrupted before a value was produced.
construct methodpublic abstract Object construct()
get method.
public void finished()
construct method has returned.
public void start()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||