Class DhApiCancelableEventParam<T>
java.lang.Object
com.seibel.distanthorizons.api.methods.events.sharedParameterObjects.DhApiEventParam<T>
com.seibel.distanthorizons.api.methods.events.sharedParameterObjects.DhApiCancelableEventParam<T>
Extension of
DhApiEventParam
that allows the event to be canceled.- Since:
- API 1.0.0
-
Field Summary
Fields inherited from class com.seibel.distanthorizons.api.methods.events.sharedParameterObjects.DhApiEventParam
value
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Prevents the DH event from completing after all bound event handlers have been fired.boolean
-
Constructor Details
-
DhApiCancelableEventParam
-
-
Method Details
-
cancelEvent
public void cancelEvent()Prevents the DH event from completing after all bound event handlers have been fired. -
isEventCanceled
public boolean isEventCanceled()- Returns:
- if this DH event has been canceled, either by this event handler or a previous one.
-