Package org.vaadin.tatu
Class TwinColSelectDataView<T>
java.lang.Object
com.vaadin.flow.data.provider.AbstractDataView<T>
org.vaadin.tatu.TwinColSelectDataView<T>
- All Implemented Interfaces:
com.vaadin.flow.data.provider.DataView<T>,Serializable
public class TwinColSelectDataView<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
ConstructorsConstructorDescriptionTwinColSelectDataView(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.data.provider.DataProvider<T, ?>> dataProviderSupplier, TwinColSelect<T> twinColSelect) Constructs a new DataView.TwinColSelectDataView(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.data.provider.DataProvider<T, ?>> dataProviderSupplier, TwinColSelect<T> twinColSelect, com.vaadin.flow.function.SerializableConsumer<com.vaadin.flow.data.provider.IdentifierProvider<T>> identifierChangedCallback) Constructs a new DataView. -
Method Summary
Modifier and TypeMethodDescriptiongetItem(int index) getItems()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, refreshAll, refreshItem, verifyDataProviderType, verifyDataProviderType
-
Constructor Details
-
TwinColSelectDataView
public TwinColSelectDataView(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.data.provider.DataProvider<T, ?>> dataProviderSupplier, TwinColSelect<T> twinColSelect) Constructs a new DataView.- Parameters:
dataProviderSupplier- data provider suppliertwinColSelect- TwinColSelect instance for this DataView
-
TwinColSelectDataView
public TwinColSelectDataView(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.data.provider.DataProvider<T, ?>> dataProviderSupplier, TwinColSelect<T> twinColSelect, com.vaadin.flow.function.SerializableConsumer<com.vaadin.flow.data.provider.IdentifierProvider<T>> identifierChangedCallback) Constructs a new DataView.- Parameters:
dataProviderSupplier- data provider suppliertwinColSelect- TwinColSelect instance for this DataViewidentifierChangedCallback- callback method which should be called when identifierProvider is changed
-
-
Method Details