Class CancellableEvent<T>

java.lang.Object
de.florianmichael.dietrichevents2.AbstractEvent<T>
de.florianmichael.dietrichevents2.CancellableEvent<T>
Type Parameters:
T - The type of the listener.

public abstract class CancellableEvent<T> extends AbstractEvent<T>
This class represents an event that can be cancelled.
  • Constructor Details

    • CancellableEvent

      public CancellableEvent()
  • Method Details

    • cancel

      public void cancel()
      Cancels the event.
    • isCancelled

      public boolean isCancelled()
    • setCancelled

      public void setCancelled(boolean cancelled)