Class QueryClosedEvent

All Implemented Interfaces:
Serializable

public final class QueryClosedEvent extends AbstractQueryEvent
Event dispatched to a listener when a query is closed
See Also:
  • Constructor Details

    • QueryClosedEvent

      public QueryClosedEvent(Object source, Query query)
      Parameters:
      source - the source of the event
      query - the query that was closed
  • Method Details

    • getQuery

      public Query getQuery()
      Get the closed query
      Returns:
      the query that was closed
    • dispatch

      public void dispatch(QueryListener listener)
      Dispatches this event to the listener
      Specified by:
      dispatch in class AbstractQueryEvent
      Parameters:
      listener - the query listener