|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.hawaii.ics.yucheng.BackgroundWorker.Delegate
final class BackgroundWorker.Delegate
A delegate class used to transfer messages between the GUI thread and the background worker thread.
Field Summary | |
---|---|
(package private) int |
action
The action to perform. |
(package private) java.lang.Exception |
error
The error data. |
(package private) TProgress |
progress
The progress data. |
(package private) TResult |
result
The result data. |
Constructor Summary | |
---|---|
BackgroundWorker.Delegate(int action,
TProgress progress,
TResult result,
java.lang.Exception error)
Initializes a new instance of the class. |
Method Summary | |
---|---|
void |
run()
The entry point for the delegate's execution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final int action
final java.lang.Exception error
final TProgress progress
final TResult result
Constructor Detail |
---|
public BackgroundWorker.Delegate(int action, TProgress progress, TResult result, java.lang.Exception error)
action
- The action to perform.progress
- The progress data (optional).result
- The result data (optional).error
- The error data (optional).Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |