org.biffle.cliff.pearl2
Interface ProgressHandler

All Known Implementing Classes:
ConsoleProgressHandler

public interface ProgressHandler

Implemented by objects that display progress updates for some Pearl function. ProgressHandler handles one task at a time.


Method Summary
 void showProgress(int current, int total)
          Called when progress occurs on the current task.
 void startProgress(java.lang.String title)
          Called when a new task begins.
 void stopProgress()
          Called when a task completes.
 

Method Detail

startProgress

public void startProgress(java.lang.String title)
Called when a new task begins. title must not be null.


showProgress

public void showProgress(int current,
                         int total)
Called when progress occurs on the current task.


stopProgress

public void stopProgress()
Called when a task completes.