Package org.vaadin.tatu
Class BeanTableDataView<T>
java.lang.Object
com.vaadin.flow.data.provider.AbstractDataView<T>
org.vaadin.tatu.BeanTableDataView<T>
- All Implemented Interfaces:
com.vaadin.flow.data.provider.DataView<T>,Serializable
public class BeanTableDataView<T>
extends com.vaadin.flow.data.provider.AbstractDataView<T>
- See Also:
-
Field Summary
Fields inherited from class com.vaadin.flow.data.provider.AbstractDataView
component, dataProviderSupplier, NULL_IDENTIFIER_ERROR_MESSAGE, NULL_ITEM_ERROR_MESSAGE -
Constructor Summary
ConstructorsConstructorDescriptionBeanTableDataView(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.data.provider.DataProvider<T, ?>> dataProviderSupplier, BeanTable<T> beanTable) Constructs a new DataView.BeanTableDataView(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.data.provider.DataProvider<T, ?>> dataProviderSupplier, BeanTable<T> beanTable, com.vaadin.flow.function.SerializableConsumer<com.vaadin.flow.data.provider.IdentifierProvider<T>> identifierChangedCallback) Constructs a new DataView. -
Method Summary
Modifier and TypeMethodDescriptiongetItem(int index) protected Class<?> voidsetIdentifierProvider(com.vaadin.flow.data.provider.IdentifierProvider<T> identifierProvider) Methods inherited from class com.vaadin.flow.data.provider.AbstractDataView
addIdentifierProviderChangeListener, addItemCountChangeListener, equals, getIdentifierProvider, getItemIndex, getItemIndex, getItems, refreshAll, refreshItem, verifyDataProviderType, verifyDataProviderType
-
Constructor Details
-
BeanTableDataView
public BeanTableDataView(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.data.provider.DataProvider<T, ?>> dataProviderSupplier, BeanTable<T> beanTable) Constructs a new DataView.- Parameters:
dataProviderSupplier- data provider supplierbeanTable- BeanTable instance for this DataView
-
BeanTableDataView
public BeanTableDataView(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.data.provider.DataProvider<T, ?>> dataProviderSupplier, BeanTable<T> beanTable, com.vaadin.flow.function.SerializableConsumer<com.vaadin.flow.data.provider.IdentifierProvider<T>> identifierChangedCallback) Constructs a new DataView.- Parameters:
dataProviderSupplier- data provider supplierbeanTable- BeanTable instance for this DataViewidentifierChangedCallback- callback method which should be called when identifierProvider is changed
-
-
Method Details