|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProgressListener
The ProgressListener interface represents a listener for the observation of possibly time consuming
processes.
| Method Summary | |
|---|---|
void |
processEnded(boolean success)
Called when a process ended. |
boolean |
processInProgress(int currentProgressValue)
Called while a process in in progress. |
boolean |
processStarted(String processDescription,
int minProgressValue,
int maxProgressValue)
Called when a process started. |
| Method Detail |
|---|
boolean processStarted(String processDescription,
int minProgressValue,
int maxProgressValue)
true.
processDescription - a short description of the process beeing startedminProgressValue - maxProgressValue -
true if the process was successfully started (and should be continued), false
otherwiseboolean processInProgress(int currentProgressValue)
true if the process can be
continued, false if it should be terminated.
currentProgressValue - the current progress value
true if the process should be continued, false otherwisevoid processEnded(boolean success)
success - if true the process was successfully ended, otherwise it was terminated by user
demand or due to an exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||