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.boolean
isPropagationStopped()
Checks if the propagation of this event has been stopped.void
stopPropagation()
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
- theGridExporter
that 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:
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:
stopPropagation()
-
-