Package com.jme3.environment.generation
Class RunnableWithProgress
java.lang.Object
com.jme3.environment.generation.RunnableWithProgress
- All Implemented Interfaces:
 Runnable
- Direct Known Subclasses:
 IrradianceSphericalHarmonicsGenerator,PrefilteredEnvMapFaceGenerator
Abstract runnable that can report its progress
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
listener
 
 - 
 - 
Constructor Details
- 
RunnableWithProgress
public RunnableWithProgress() - 
RunnableWithProgress
 
 - 
 - 
Method Details
- 
setEnd
protected void setEnd(int end) set the end step value of the process.- Parameters:
 end- the desired end value (default=0)
 - 
getProgress
public double getProgress()return the current progress of the process.- Returns:
 - fraction (≥0, ≤1)
 
 - 
progress
protected void progress()adds one progression step to the process. - 
reset
protected void reset()resets the progression of the process. 
 -