offlineProcessing
Class OLProcessDialog.OLMonitor

java.lang.Object
  extended by offlineProcessing.OLProcessDialog.OLMonitor
All Implemented Interfaces:
TaskMonitor
Enclosing class:
OLProcessDialog

 class OLProcessDialog.OLMonitor
extends java.lang.Object
implements TaskMonitor


Field Summary
(package private)  int doneFiles
           
(package private)  int numFiles
           
 
Fields inherited from interface offlineProcessing.TaskMonitor
TASK_COMPLETE, TASK_CRASHED, TASK_IDLE, TASK_INTERRRUPTED, TASK_RUNNING
 
Constructor Summary
OLProcessDialog.OLMonitor()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

doneFiles

int doneFiles

numFiles

int numFiles
Constructor Detail

OLProcessDialog.OLMonitor

OLProcessDialog.OLMonitor()
Method Detail

setFileName

public void setFileName(java.lang.String fileName)
Description copied from interface: TaskMonitor
Set the current file name.

Specified by:
setFileName in interface TaskMonitor

setNumFiles

public void setNumFiles(int nFiles)
Description copied from interface: TaskMonitor
Set the total number of files to process (will be one if only loaded data are being processed).

Specified by:
setNumFiles in interface TaskMonitor

setProgress

public void setProgress(int global,
                        double loaded)
Description copied from interface: TaskMonitor
Set the overall task progress

Specified by:
setProgress in interface TaskMonitor
Parameters:
global - - global progress, i.e. number of files completed (0 - nFiles)
loaded - - progress though data currently loaded (0 - 1.)

setStatus

public void setStatus(int taskStatus)
Description copied from interface: TaskMonitor
Set the task status.

Specified by:
setStatus in interface TaskMonitor