Class ConcurrentDownloadTimeoutEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.flowingcode.vaadin.addons.gridexporter.ConcurrentDownloadTimeoutEvent
-
- All Implemented Interfaces:
Serializable
public class ConcurrentDownloadTimeoutEvent extends EventObject
An event that is fired when a concurrent download timeout occurs in theGridExporter.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
Constructors Constructor Description ConcurrentDownloadTimeoutEvent(GridExporter<?> source)Constructs a new ConcurrentDownloadTimeoutEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GridExporter<?>getSource()Returns the source of this event.booleanisPropagationStopped()Checks if the propagation of this event has been stopped.voidstopPropagation()Stops the propagation of this event.-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
ConcurrentDownloadTimeoutEvent
public ConcurrentDownloadTimeoutEvent(GridExporter<?> source)
Constructs a new ConcurrentDownloadTimeoutEvent.- Parameters:
source- theGridExporterthat is the source of this event- Throws:
IllegalArgumentException- if source is null
-
-
Method Detail
-
getSource
public GridExporter<?> 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:
stopPropagation()
-
-