mckay.utilities.gui.progressbars
Interface ProcessCoordinator


public interface ProcessCoordinator

An interface for the class that performs the actual processing that is measured by a progress bar.


Method Summary
 int findNumberOfTopLevelTasks()
          Find the total number of top-level that need to be performed.
 void performProcessing()
          Perform actual processing.
 void setDoubleProgressBarTaskCoordinator(DoubleProgressBarTaskCoordinator task_coordinator)
          Set the coordinator for the progress bar itself.
 

Method Detail

setDoubleProgressBarTaskCoordinator

void setDoubleProgressBarTaskCoordinator(DoubleProgressBarTaskCoordinator task_coordinator)
Set the coordinator for the progress bar itself.

Parameters:
task_coordinator - The task coordinator.

findNumberOfTopLevelTasks

int findNumberOfTopLevelTasks()
Find the total number of top-level that need to be performed.

Returns:
The number of top-level tasks.

performProcessing

void performProcessing()
                       throws java.lang.Exception
Perform actual processing.

Throws:
java.lang.Exception - An informative report of any problem that occurs.