Package ucar.nc2.ui
Class GetDataTask
- java.lang.Object
-
- ucar.ui.widget.ProgressMonitorTask
-
- ucar.nc2.ui.GetDataTask
-
- All Implemented Interfaces:
Runnable
,CancelTask
public class GetDataTask extends ProgressMonitorTask implements CancelTask
-
-
Constructor Summary
Constructors Constructor Description GetDataTask(GetDataRunnable getData, String name, Object o)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorMessage()
Applications call this to get an error message.void
run()
Here is where the work gets done.-
Methods inherited from class ucar.ui.widget.ProgressMonitorTask
cancel, getNote, getProgress, isCancel, isDone, isError, isSuccess, setDone, setError, setProgress
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ucar.nc2.util.CancelTask
isCancel, isDone, setDone, setError, setProgress, setSuccess
-
-
-
-
Constructor Detail
-
GetDataTask
public GetDataTask(GetDataRunnable getData, String name, Object o)
-
-
Method Detail
-
run
public void run()
Description copied from class:ProgressMonitorTask
Here is where the work gets done.- Specified by:
run
in interfaceRunnable
- Specified by:
run
in classProgressMonitorTask
-
getErrorMessage
public String getErrorMessage()
Description copied from class:ProgressMonitorTask
Applications call this to get an error message.- Overrides:
getErrorMessage
in classProgressMonitorTask
-
-