Class PagelessDataCommunicator<T>
java.lang.Object
com.vaadin.flow.data.provider.DataCommunicator<T>
com.vaadin.flow.component.virtuallist.paging.PagelessDataCommunicator<T>
- Type Parameters:
T- item type
- All Implemented Interfaces:
Serializable
public class PagelessDataCommunicator<T>
extends com.vaadin.flow.data.provider.DataCommunicator<T>
DataCommunicator implementation which disables the paging and does not allow
the user to set up the page for VirtualList.
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.vaadin.flow.data.provider.DataCommunicator
DEFAULT_PAGE_INCREASE_COUNT, passivatedByUpdate -
Constructor Summary
ConstructorsConstructorDescriptionPagelessDataCommunicator(com.vaadin.flow.data.provider.DataGenerator<T> dataGenerator, com.vaadin.flow.data.provider.ArrayUpdater arrayUpdater, com.vaadin.flow.function.SerializableConsumer<elemental.json.JsonArray> dataUpdater, com.vaadin.flow.internal.StateNode stateNode) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetPageSize(int pageSize) voidsetPagingEnabled(boolean pagingEnabled) Methods inherited from class com.vaadin.flow.data.provider.DataCommunicator
buildQuery, computeRequestedRange, confirmUpdate, doUnregister, enablePushUpdates, fetchFromProvider, getBackEndSorting, getDataProvider, getDataProviderSize, getFilter, getInMemorySorting, getItem, getItemCount, getItemCountEstimate, getItemCountEstimateIncrease, getKeyMapper, getPageSize, getPassivatedKeys, handleDataRefreshEvent, isDefinedSize, isFetchEnabled, isItemActive, refresh, reset, setBackEndSorting, setCountCallback, setDataProvider, setDataProvider, setDefinedSize, setFetchEnabled, setInMemorySorting, setItemCountEstimate, setItemCountEstimateIncrease, setKeyMapper, setRequestedRange
-
Constructor Details
-
PagelessDataCommunicator
public PagelessDataCommunicator(com.vaadin.flow.data.provider.DataGenerator<T> dataGenerator, com.vaadin.flow.data.provider.ArrayUpdater arrayUpdater, com.vaadin.flow.function.SerializableConsumer<elemental.json.JsonArray> dataUpdater, com.vaadin.flow.internal.StateNode stateNode)
-
-
Method Details
-
setPageSize
public void setPageSize(int pageSize) - Overrides:
setPageSizein classcom.vaadin.flow.data.provider.DataCommunicator<T>
-
setPagingEnabled
public void setPagingEnabled(boolean pagingEnabled) - Overrides:
setPagingEnabledin classcom.vaadin.flow.data.provider.DataCommunicator<T>
-
isPagingEnabled
public boolean isPagingEnabled()- Overrides:
isPagingEnabledin classcom.vaadin.flow.data.provider.DataCommunicator<T>
-