setCancelled

public void setCancelled(boolean cancel)