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

    Nested classes/interfaces inherited from class com.vaadin.flow.data.provider.DataCommunicator

    com.vaadin.flow.data.provider.DataCommunicator.EmptyDataProvider<T1>, com.vaadin.flow.data.provider.DataCommunicator.Filter<F>
  • Field Summary

    Fields inherited from class com.vaadin.flow.data.provider.DataCommunicator

    DEFAULT_PAGE_INCREASE_COUNT, passivatedByUpdate
  • 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<tools.jackson.databind.node.ArrayNode> dataUpdater, com.vaadin.flow.internal.StateNode stateNode)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    setPageSize(int pageSize)
     
    void
    setPagingEnabled(boolean pagingEnabled)
     

    Methods inherited from class com.vaadin.flow.data.provider.DataCommunicator

    buildQuery, computeRequestedRange, computeViewportRange, 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, setViewportRange

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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<tools.jackson.databind.node.ArrayNode> dataUpdater, com.vaadin.flow.internal.StateNode stateNode)
  • Method Details

    • setPageSize

      public void setPageSize(int pageSize)
      Overrides:
      setPageSize in class com.vaadin.flow.data.provider.DataCommunicator<T>
    • setPagingEnabled

      public void setPagingEnabled(boolean pagingEnabled)
      Overrides:
      setPagingEnabled in class com.vaadin.flow.data.provider.DataCommunicator<T>
    • isPagingEnabled

      public boolean isPagingEnabled()
      Overrides:
      isPagingEnabled in class com.vaadin.flow.data.provider.DataCommunicator<T>