Package com.jme3.environment.generation
Interface JobProgressListener<T>
- Type Parameters:
T
- The type of object generated.
- All Known Implementing Classes:
JobProgressAdapter
public interface JobProgressListener<T>
An interface listener that will be notified of the progress of an asynchronous
generation job.
-
Method Summary
-
Method Details
-
start
void start()Called when the process starts. -
step
Can be called when a step of the process has been completed with a relevant message.- Parameters:
message
- the message stating of the particular step completion.
-
progress
void progress(double value) Called when the process has made some progress.- Parameters:
value
- a value from 0 to 1 representing the percentage of completion of the process.
-
done
Called when the process is done.- Parameters:
result
- the object generated by the process.
-