public class Cancel extends Object implements Cancellable
Constructor and Description |
---|
Cancel()
Crea un nuevo CancelDraw.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCanceled()
Determines if the related task must be canceled.
|
void |
setCanceled(boolean b)
Insertar si se debe cancelar el dibujado.
|
public void setCanceled(boolean b)
setCanceled
in interface Cancellable
b
- true si se debe cancelar el dibujado.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
com.iver.utiles.swing.threads.Cancellable#isCanceled()