Class ConcurrentDownloadTimeoutEvent

java.lang.Object
java.util.EventObject
com.flowingcode.vaadin.addons.gridexporter.ConcurrentDownloadTimeoutEvent
Type Parameters:
T - the type of the GridExporter source
All Implemented Interfaces:
Serializable

public class ConcurrentDownloadTimeoutEvent extends EventObject
An event that is fired when a concurrent download timeout occurs in the GridExporter.

This event allows the handler to determine whether the event propagation should be stopped, preventing other listeners from processing the event.

See Also:
  • GridExporter#setConcurrentDownloadTimeout(long, java.util.concurrent.TimeUnit)
  • Serialized Form
  • Constructor Details

    • ConcurrentDownloadTimeoutEvent

      public ConcurrentDownloadTimeoutEvent(GridExporter<?> source)
      Constructs a new ConcurrentDownloadTimeoutEvent.
      Parameters:
      source - the GridExporter that is the source of this event
      Throws:
      IllegalArgumentException - if source is null
  • Method Details

    • getSource

      public GridExporter<?> getSource()
      Returns the source of this event.
      Overrides:
      getSource in class EventObject
      Returns:
      the GridExporter that is the source of this event
    • stopPropagation

      public void stopPropagation()
      Stops the propagation of this event. When propagation is stopped, other listeners will not be notified of this event.
    • isPropagationStopped

      public boolean isPropagationStopped()
      Checks if the propagation of this event has been stopped.
      Returns:
      true if the propagation has been stopped, false otherwise
      See Also: