public class MapControl.CancelDraw extends java.lang.Object implements Cancellable
An instance of CancelDraw will be shared by all this
MapControl's MapContext layers, allowing
receive a notification that, when they're been drawn, to be cancelled.
Cancellable| Constructor and Description |
|---|
CancelDraw()
Creates a new
CancelDraw object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCanceled()
Determines if the related task must be canceled.
|
void |
setCanceled(boolean b)
Sets if the related task must be canceled.
|
public void setCanceled(boolean b)
CancellableSets if the related task must be canceled.
setCanceled in interface Cancellableb - 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)