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
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
-
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.boolean
Checks if the propagation of this event has been stopped.void
Stops the propagation of this event.Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
ConcurrentDownloadTimeoutEvent
Constructs a new ConcurrentDownloadTimeoutEvent.- Parameters:
source
- theGridExporter
that is the source of this event- Throws:
IllegalArgumentException
- if source is null
-
-
Method Details
-
getSource
Returns the source of this event.- Overrides:
getSource
in classEventObject
- 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:
-