public class ZoomWheelTool.MyCancellable extends java.lang.Object implements Cancellable
| Constructor and Description |
|---|
MyCancellable() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCanceled()
Determines if the related task must be canceled.
|
void |
setCanceled(boolean canceled)
Sets if the related task must be canceled.
|
public void setCanceled(boolean canceled)
CancellableSets if the related task must be canceled.
setCanceled in interface Cancellablecanceled - true if the task must be canceled; otherwise falseCancellable.isCanceled()public boolean isCanceled()
CancellableDetermines if the related task must be canceled.
isCanceled in interface Cancellabletrue if task must been canceled; otherwise falseCancellable.setCanceled(boolean)