jcolibri.util
Interface ProgressListener

All Known Implementing Classes:
SwingProgressBar

public interface ProgressListener

Interface implemented by the listeners of a progress. The implementations of this interface must register in the ProgressController to recieve the progress.

Version:
1.0
Author:
Juan A. Recio-Garcia
See Also:
ProgressController

Method Summary
 void finish()
          Process finished.
 void init(java.lang.String info, int numberOfSteps)
          Method call when a progress begins.
 void step()
          An step executed.
 

Method Detail

init

void init(java.lang.String info,
          int numberOfSteps)
Method call when a progress begins.

Parameters:
info - Some textual info
numberOfSteps - Estimated number of steps (-1 if unknown).

step

void step()
An step executed.


finish

void finish()
Process finished.


GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es