public interface TaskMonitor
Modifier and Type | Field and Description |
---|---|
static int |
TASK_COMPLETE |
static int |
TASK_CRASHED |
static int |
TASK_IDLE |
static int |
TASK_INTERRRUPTED |
static int |
TASK_RUNNING |
Modifier and Type | Method and Description |
---|---|
void |
setFileName(java.lang.String fileName)
Set the current file name.
|
void |
setNumFiles(int nFiles)
Set the total number of files to process
(will be one if only loaded data are being processed).
|
void |
setProgress(int global,
double loaded)
Set the overall task progress
|
void |
setStatus(int taskStatus)
Set the task status.
|
static final int TASK_IDLE
static final int TASK_RUNNING
static final int TASK_INTERRRUPTED
static final int TASK_COMPLETE
static final int TASK_CRASHED
void setStatus(int taskStatus)
taskStatus
- void setNumFiles(int nFiles)
nFiles
- void setProgress(int global, double loaded)
global
- - global progress, i.e. number of files completed (0 - nFiles)loaded
- - progress though data currently loaded (0 - 1.)void setFileName(java.lang.String fileName)
fileName
-