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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisPagingEnabled()voidsetPageSize(int pageSize)voidsetPagingEnabled(boolean pagingEnabled)-
Methods inherited from class com.vaadin.flow.data.provider.DataCommunicator
buildQuery, computeRequestedRange, confirmUpdate, 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 Detail
-
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 Detail
-
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>
-
-