|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITaskMonitor
This interface must be implemented by all classes used to monitor the execution of a GeoAlgorithm or any other process within SEXTANTE
Method Summary | |
---|---|
void |
close()
Closes the monitor. |
boolean |
isCanceled()
Returns rue is the task that is being monitored has been canceled using this monitor |
void |
setDeterminate(boolean bDeterminate)
Set whether the process is determinate or not |
void |
setProcessDescription(java.lang.String sDescription)
Sets the description of the process being monitored |
void |
setProgress(int iStep)
Sets the current progress |
void |
setProgress(int step,
int totalNumberOfSteps)
Sets the current progress |
void |
setProgressText(java.lang.String sText)
Sets the current text to display by this task monitor |
Method Detail |
---|
void setProgress(int iStep)
iStep
- the current progress, in percentage (0-100)void setProgress(int step, int totalNumberOfSteps)
step
- the current steptotalNumberOfSteps
- the total number of steps in the taskvoid setProgressText(java.lang.String sText)
sText
- The text to displayboolean isCanceled()
void close()
void setDeterminate(boolean bDeterminate)
bDeterminate
- whether the process to monitor is determinate (the
number of total steps to complete is known)void setProcessDescription(java.lang.String sDescription)
sDescription
- the description of the process being monitored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |