public abstract class RunnableWithProgress
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Field and Description | 
|---|---|
protected JobProgressListener | 
listener  | 
| Constructor and Description | 
|---|
RunnableWithProgress()  | 
RunnableWithProgress(JobProgressListener listener)  | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
getProgress()
return the current progress of the process. 
 | 
protected void | 
progress()
adds one progression step to the process. 
 | 
protected void | 
reset()
resets the progression of the process. 
 | 
protected void | 
setEnd(int end)
set the end step value of the process. 
 | 
protected JobProgressListener listener
public RunnableWithProgress()
public RunnableWithProgress(JobProgressListener listener)
protected void setEnd(int end)
end - the desired end value (default=0)public double getProgress()
protected void progress()
protected void reset()