Creates a CancelEvent object.
public CancelEvent()
public CancelEvent( boolean cancel )
cancel
The default value of the cancel flag. Set to true to cancel the event; otherwise, set to false. (If no value is specified, this flag is set to false.)