Package com.jme3.terrain
Interface ProgressMonitor
public interface ProgressMonitor
Monitor the progress of an expensive terrain operation.
 Monitors are passed into the expensive operations, and those operations
 call the incrementProgress method whenever they determine that progress
 has changed. It is up to the monitor to determine if the increment is
 percentage or a unit of another measure, but anything calling it should
 use the setMonitorMax() method and make sure incrementProgress() match up
 in terms of units.
- 
Method SummaryModifier and TypeMethodDescriptionfloatThe max value of the progress.voidincrementProgress(float increment) Increment the progress by a unit.voidThe progress has completedvoidsetMonitorMax(float max) The max value that when reached, the progress is at 100%.
- 
Method Details- 
incrementProgressvoid incrementProgress(float increment) Increment the progress by a unit.
- 
setMonitorMaxvoid setMonitorMax(float max) The max value that when reached, the progress is at 100%.
- 
getMonitorMaxfloat getMonitorMax()The max value of the progress. When incrementProgress() reaches this value, progress is complete
- 
progressCompletevoid progressComplete()The progress has completed
 
-