Interface PostponedEvent<E extends EventObject>

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

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

    Modifier and Type
    Method
    Description
    void
    Fires the postponed event.
     
    boolean
     
  • Method Details

    • 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:
      IllegalStateException - if the postponed event has already been fired.