|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IProgressListener
Listener interface for monitorable object.
This Listner is designed to have stateful information, such as current task running or current progress percentage, so it should be bound to one object only.
| Method Summary | |
|---|---|
void |
completed()
The process has successfully ended. |
void |
failed(java.lang.Throwable exception)
The process has ended with an error |
Identifiable |
getOwner()
|
float |
getProgress()
Get a progress indicator, between 0.0 and 100.0 |
java.lang.String |
getTask()
Get the name of the current task. |
void |
paused()
The process has been paused |
void |
progressing()
The process has just advanced a bit. |
void |
resumed()
The process has been resumed |
void |
setProgress(float progress)
Used by the notifier. |
void |
setTask(java.lang.String currentTask)
Used by the notifier. |
void |
started()
The process has been started |
void |
terminated()
The process has been terminated |
| Method Detail |
|---|
void started()
void progressing()
getProgress(),
getTask()void paused()
void resumed()
void completed()
void failed(java.lang.Throwable exception)
void terminated()
float getProgress()
java.lang.String getTask()
void setProgress(float progress)
void setTask(java.lang.String currentTask)
Identifiable getOwner()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||