net.sf.dictccfe.and
Interface IProgress

All Known Implementing Classes:
DictAndActivity

public interface IProgress

Interface for showing progress of an operation.

Version:
$Revision$
Author:
Daniel Stoinski

Method Summary
 void endProgress(int aProgress)
          Called on the end of the process for which the progress is shown.
 void showException(java.lang.Exception anExcp)
          Show the given error.
 void showProgress(int aProgress)
          Called on the progress of the operation.
 void startProgress(int aProgress)
          Called on the start of the process for which the progress is shown.
 

Method Detail

startProgress

void startProgress(int aProgress)
Called on the start of the process for which the progress is shown.

Parameters:
aProgress - the initial progress value in percents, most probably 0.

showProgress

void showProgress(int aProgress)
Called on the progress of the operation.

Parameters:
aProgress - the progress value in percents, most probably between 0.0 and 1.0

endProgress

void endProgress(int aProgress)
Called on the end of the process for which the progress is shown.

Parameters:
aProgress - the final progress, most probably 100.

showException

void showException(java.lang.Exception anExcp)
Show the given error.

Parameters:
anExcp - shows the given error.