public class GetDataTask extends ProgressMonitorTask implements CancelTask
Constructor and Description |
---|
GetDataTask(GetDataRunnable getData,
java.lang.String name,
java.lang.Object o) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage()
Applications call this to get an error message.
|
void |
run()
Here is where the work gets done.
|
cancel, getNote, getProgress, isCancel, isDone, isError, isSuccess, setDone, setError, setProgress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, isCancel, isDone, setDone, setError, setProgress, setSuccess
public GetDataTask(GetDataRunnable getData, java.lang.String name, java.lang.Object o)
public void run()
ProgressMonitorTask
run
in interface java.lang.Runnable
run
in class ProgressMonitorTask
public java.lang.String getErrorMessage()
ProgressMonitorTask
getErrorMessage
in class ProgressMonitorTask