Class ConcurrentDownloadTimeoutEvent
java.lang.Object
java.util.EventObject
com.flowingcode.vaadin.addons.gridexporter.ConcurrentDownloadTimeoutEvent
- All Implemented Interfaces:
Serializable
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.
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionConcurrentDownloadTimeoutEvent(GridExporter<?> source) Constructs a new ConcurrentDownloadTimeoutEvent. -
Method Summary
Modifier and TypeMethodDescriptionGridExporter<?>Returns the source of this event.booleanChecks if the propagation of this event has been stopped.voidStops the propagation of this event.Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
ConcurrentDownloadTimeoutEvent
Constructs a new ConcurrentDownloadTimeoutEvent.- Parameters:
source- theGridExporterthat is the source of this event- Throws:
IllegalArgumentException- if source is null
-
-
Method Details
-
getSource
Returns the source of this event.- Overrides:
getSourcein classEventObject- Returns:
- the
GridExporterthat 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:
trueif the propagation has been stopped,falseotherwise- See Also:
-