public class ZoomWheelTool.MyCancellable extends 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)
Cancellable
Sets if the related task must be canceled.
setCanceled
in interface Cancellable
canceled
- true
if the task must be canceled; otherwise false
Cancellable.isCanceled()
public boolean isCanceled()
Cancellable
Determines if the related task must be canceled.
isCanceled
in interface Cancellable
true
if task must been canceled; otherwise false
Cancellable.setCanceled(boolean)