|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface ProgressMonitor
This interface is used by a Renderer to monitor
the progress of rendering and to show messages.
| Field Summary | |
|---|---|
static float |
DONE_PROGRESS
Value for setProgress(java.lang.String, float) indicating that the renderer
has done its job. |
static float |
INDETERMINATE_PROGRESS
Value for setProgress(java.lang.String, float) indicating that the current
state of progress is indetermined. |
| Method Summary | |
|---|---|
void |
setProgress(java.lang.String text,
float progress)
This method is invoked by the renderer to monitor its progress. |
void |
showMessage(java.lang.String message)
This method is invoked by the renderer to show a message, e.g., the statistics after rendering has completed. |
| Field Detail |
|---|
static final float DONE_PROGRESS
setProgress(java.lang.String, float) indicating that the renderer
has done its job.
static final float INDETERMINATE_PROGRESS
setProgress(java.lang.String, float) indicating that the current
state of progress is indetermined.
| Method Detail |
|---|
void setProgress(java.lang.String text,
float progress)
text - short text to displayprogress - state of progress from 0 to 1, or one of the
constants INDETERMINATE_PROGRESS, DONE_PROGRESSvoid showMessage(java.lang.String message)
message - message to display
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||