Package io.jmix.flowui.component.grid
Class JmixGridDataProvider<T>
java.lang.Object
com.vaadin.flow.data.provider.AbstractDataProvider<T,Void>
io.jmix.flowui.component.grid.AbstractContainerGridDataProvider<T>
io.jmix.flowui.component.grid.JmixGridDataProvider<T>
- All Implemented Interfaces:
com.vaadin.flow.data.provider.DataProvider<T,,Void> JmixBinding,ContainerDataUnit<T>,DataUnit,EntityDataUnit,EntityGridDataItems<T>,GridDataItems<T>,GridDataItems.Sortable<T>,HasType<T>,Serializable
- Direct Known Subclasses:
JmixTreeGridDataProvider
public class JmixGridDataProvider<T>
extends AbstractContainerGridDataProvider<T>
implements GridDataItems.Sortable<T>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.data.DataUnit
DataUnit.StateChangeEventNested classes/interfaces inherited from interface io.jmix.flowui.data.grid.GridDataItems
GridDataItems.ItemSetChangeEvent<T>, GridDataItems.SelectedItemChangeEvent<T>, GridDataItems.Sortable<T>, GridDataItems.ValueChangeEvent<T> -
Field Summary
FieldsFields inherited from class io.jmix.flowui.component.grid.AbstractContainerGridDataProvider
container, containerCollectionChangeSubscription, containerItemChangeSubscription, containerItemPropertyChangeSubscription, eventBus, itemSetChangeListeners, selectedItemChangeListeners, state, valueChangeListeners -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SortcreateSort(Object[] propertyId, boolean[] ascending) voidvoidvoidvoidMethods inherited from class io.jmix.flowui.component.grid.AbstractContainerGridDataProvider
addItemSetChangeListener, addSelectedItemChangeListener, addStateChangeListener, addValueChangeListener, bind, containerItemPropertyChanged, containsItem, fetch, getContainer, getEntityMetaClass, getItem, getItemByIndex, getItemId, getItems, getItems, getItemValue, getSelectedItem, getState, getType, indexOfItem, isInMemory, onContainerCollectionChanged, onContainerItemChanged, setSelectedItem, setState, size, size, unbindMethods inherited from class com.vaadin.flow.data.provider.AbstractDataProvider
addDataProviderListener, addListener, fireEvent, refreshAll, refreshItem, refreshItemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.data.provider.DataProvider
addDataProviderListener, fetch, getId, isInMemory, refreshAll, refreshItem, refreshItem, size, withConfigurableFilter, withConfigurableFilter, withConvertedFilterMethods inherited from interface io.jmix.flowui.data.DataUnit
addStateChangeListener, getStateMethods inherited from interface io.jmix.flowui.data.grid.GridDataItems
addItemSetChangeListener, addSelectedItemChangeListener, addValueChangeListener, containsItem, getItem, getItemByIndex, getItemId, getItems, getItems, getItemValue, getSelectedItem, indexOfItem, setSelectedItem, size
-
Field Details
-
suppressSorting
protected boolean suppressSorting
-
-
Constructor Details
-
JmixGridDataProvider
-
-
Method Details
-
sort
- Specified by:
sortin interfaceGridDataItems.Sortable<T>
-
createSort
-
resetSortOrder
public void resetSortOrder()- Specified by:
resetSortOrderin interfaceGridDataItems.Sortable<T>
-
suppressSorting
public void suppressSorting()- Specified by:
suppressSortingin interfaceGridDataItems.Sortable<T>
-
enableSorting
public void enableSorting()- Specified by:
enableSortingin interfaceGridDataItems.Sortable<T>
-