|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ActivityProgress
This interface allows a task to report it's progress and check for cancelation
| Method Summary | |
|---|---|
void |
checkCanceled()
This method checks if underlying process should be cancelled without completion. |
void |
setFraction(float completed)
Allows to set the comletion of the task (should be between 0 and 1 inclusive) |
void |
setProgressText(java.lang.String progressText)
Set current progress text |
| Method Detail |
|---|
void setFraction(float completed)
completed - number 0..1 to specify completed percentvoid setProgressText(java.lang.String progressText)
progressText - short description of the current operation
void checkCanceled()
throws java.lang.InterruptedException
java.lang.InterruptedException - when progress is interrupted
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||