Package com.jme3.environment.generation
Class JobProgressAdapter<T>
java.lang.Object
com.jme3.environment.generation.JobProgressAdapter<T>
- Type Parameters:
- T- the type of result
- All Implemented Interfaces:
- JobProgressListener<T>
Abstract Adapter class that implements optional methods of JobProgressListener.
 Extends this class instead of implementing a JobProgressListener if you need 
 only a subset of method implemented.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
JobProgressAdapterpublic JobProgressAdapter()
 
- 
- 
Method Details- 
progresspublic void progress(double value) Description copied from interface:JobProgressListenerCalled when the process has made some progress.- Specified by:
- progressin interface- JobProgressListener<T>
- Parameters:
- value- a value from 0 to 1 representing the percentage of completion of the process.
 
- 
startpublic void start()Description copied from interface:JobProgressListenerCalled when the process starts.- Specified by:
- startin interface- JobProgressListener<T>
 
- 
stepDescription copied from interface:JobProgressListenerCan be called when a step of the process has been completed with a relevant message.- Specified by:
- stepin interface- JobProgressListener<T>
- Parameters:
- message- the message stating of the particular step completion.
 
- 
doneDescription copied from interface:JobProgressListenerCalled when the process is done.- Specified by:
- donein interface- JobProgressListener<T>
- Parameters:
- result- the object generated by the process.
 
 
-