|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Cancellable
Cancellable interface is designed for adding support to notify that a task must be cancelled.
This is useful if a process is hung up, blocking, or simply if user wants cancel it, for instance, a drawing process of a heavy layer.
The classes which implement this interface are force to share the canceling information, in order to be notified about the current status of it. This implies a synchronous canceling process, that could be implemented by another object.
| Method Summary | |
|---|---|
boolean |
isCanceled()
Determines if the related task must be canceled. |
void |
setCanceled(boolean canceled)
Sets if the related task must be canceled. |
| Method Detail |
|---|
boolean isCanceled()
Determines if the related task must be canceled.
true if task must been canceled; otherwise falsesetCanceled(boolean)void setCanceled(boolean canceled)
Sets if the related task must be canceled.
canceled - true if the task must be canceled; otherwise falseisCanceled()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||