|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CancelTask
Allows long tasks to be cancelled. Use this when you are making a call that could take a long time, and you want to allow the user to cancel it.
| Method Summary | |
|---|---|
boolean |
isCancel()
Called routine should check often during the task and cancel the task if it returns true. |
void |
setError(java.lang.String msg)
Called routine got an error, so it sets a message for calling program to show to user. |
| Method Detail |
|---|
boolean isCancel()
void setError(java.lang.String msg)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||