org.sbml.jsbml.util
public interface ProgressListener extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
void |
progressFinish()
This method is called when the process is finished, irrespective of the
progress/total ratio.
|
void |
progressStart(int total)
Reports the total number of expected steps.
|
void |
progressUpdate(int progress,
java.lang.String message)
Reports the current progress to this listener, i.e., progress < total.
|
void progressStart(int total)
Integer.MAX_VALUE
.total
- the estimated total number of computation steps to be performed by
this process.void progressUpdate(int progress, java.lang.String message)
progress
- the number of steps that have been completed alreadymessage
- can be null
, a more detailed message to be displayed
to the user in some way.void progressFinish()