|
|||||||||
| 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. Used in potentially long method calls which the user may want the option to cancel.
| Method Summary | |
|---|---|
boolean |
isCancel()
Called routine should check often during the task and cancel the task if it returns true. |
void |
setError(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(String msg)
msg - message to show user
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||