|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.unex.sextante.core.SilentTaskMonitor
public class SilentTaskMonitor
A task monitor that does not show task progress or allows for user interaction
Constructor Summary | |
---|---|
SilentTaskMonitor()
Creates a new silent monitor |
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 determinate)
Set whether the process is determinate or not |
void |
setProcessDescription(java.lang.String description)
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SilentTaskMonitor()
Method Detail |
---|
public boolean isCanceled()
ITaskMonitor
isCanceled
in interface ITaskMonitor
public void setProgress(int iStep)
ITaskMonitor
setProgress
in interface ITaskMonitor
iStep
- the current progress, in percentage (0-100)public void setProgressText(java.lang.String sText)
ITaskMonitor
setProgressText
in interface ITaskMonitor
sText
- The text to displaypublic void close()
ITaskMonitor
close
in interface ITaskMonitor
public void setProgress(int step, int totalNumberOfSteps)
ITaskMonitor
setProgress
in interface ITaskMonitor
step
- the current steptotalNumberOfSteps
- the total number of steps in the taskpublic void setDeterminate(boolean determinate)
ITaskMonitor
setDeterminate
in interface ITaskMonitor
determinate
- whether the process to monitor is determinate (the
number of total steps to complete is known)public void setProcessDescription(java.lang.String description)
ITaskMonitor
setProcessDescription
in interface ITaskMonitor
description
- the description of the process being monitored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |