Package com.vaadin.flow.server.data
Class DataFetchStartedEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.server.data.AbstractDataFetchEvent
com.vaadin.flow.server.data.DataFetchStartedEvent
- All Implemented Interfaces:
Serializable
Event fired through the
service event bus
immediately before a page of items is requested from a data provider, on the
thread that requests it.- Since:
- 25.3
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionDataFetchStartedEvent(UI ui, Component component, int offset, int limit, boolean filtered) Creates a new event. -
Method Summary
Methods inherited from class com.vaadin.flow.server.data.AbstractDataFetchEvent
getComponent, getLimit, getOffset, getSource, getUI, isFilteredMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
DataFetchStartedEvent
Creates a new event.- Parameters:
ui- the UI the fetching component belongs to, notnullcomponent- the component whose data is being fetched, ornullif it could not be resolvedoffset- the index of the first item requestedlimit- the number of items requestedfiltered- whether a filter was set on the query
-