|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProgressMonitor
Interface for monitoring progress in processes that can take some time to complete.
| Method Summary | |
|---|---|
void |
finish()
Indicates that the process is finished. |
void |
report(int state,
int maxState)
Reports the current progress. |
void |
start(String message)
This method should be called in the beginning of the process. |
| Method Detail |
|---|
void start(String message)
finish() is called.
message - the description of the process.
void report(int state,
int maxState)
state - the current value of the progress. Must not be larger then
maxState.maxState - the maximal (estimated) value of the progress.void finish()
start(String) was called before.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||