Interface PostponedEvent<E extends java.util.EventObject>

  • Type Parameters:
    E - The type of postponed event.
    All Known Implementing Classes:
    AbstractPostponedEvent, PostponedPropertyChangeEvent

    public interface PostponedEvent<E extends java.util.EventObject>
    Encapsulation of an event and the means to fire it at a later time.
    Author:
    Garret Wilson
    • Method Detail

      • isFired

        boolean isFired()
        Returns:
        Whether the postponed event has been fired.
      • getEvent

        E getEvent()
        Returns:
        The event that has been postponed.
      • fireEvent

        void fireEvent()
        Fires the postponed event.
        Throws:
        java.lang.IllegalStateException - if the postponed event has already been fired.