Class GridLayoutDataView<T>
java.lang.Object
com.vaadin.flow.data.provider.AbstractDataView<T>
io.jmix.flowui.kit.component.gridlayout.GridLayoutDataView<T>
- Type Parameters:
T- the item type
- All Implemented Interfaces:
com.vaadin.flow.data.provider.DataView<T>,Serializable
public class GridLayoutDataView<T>
extends com.vaadin.flow.data.provider.AbstractDataView<T>
Implementation of generic data view for
JmixGridLayout.- 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
ConstructorsConstructorDescriptionGridLayoutDataView(com.vaadin.flow.function.SerializableSupplier<? extends com.vaadin.flow.data.provider.DataProvider<T, ?>> dataProviderSupplier, JmixGridLayout<T> gridLayout) Constructs a new generic data view forJmixGridLayoutand verifies the passed data provider is compatible with this data view implementation. -
Method Summary
Methods inherited from class com.vaadin.flow.data.provider.AbstractDataView
addIdentifierProviderChangeListener, addItemCountChangeListener, equals, getIdentifierProvider, getItemIndex, getItemIndex, getItems, refreshAll, refreshItem, setIdentifierProvider, verifyDataProviderType, verifyDataProviderType
-
Constructor Details
-
GridLayoutDataView
public GridLayoutDataView(com.vaadin.flow.function.SerializableSupplier<? extends com.vaadin.flow.data.provider.DataProvider<T, ?>> dataProviderSupplier, JmixGridLayout<T> gridLayout) Constructs a new generic data view forJmixGridLayoutand verifies the passed data provider is compatible with this data view implementation.- Parameters:
dataProviderSupplier- data provider suppliergridLayout- grid layout instance for this DataView
-
-
Method Details
-
getSupportedDataProviderType
- Specified by:
getSupportedDataProviderTypein classcom.vaadin.flow.data.provider.AbstractDataView<T>
-
getItem
-