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.StateChangeEvent
Nested 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
Fields inherited from class io.jmix.flowui.component.grid.AbstractContainerGridDataProvider
container, containerCollectionChangeSubscription, containerItemChangeSubscription, containerItemPropertyChangeSubscription, eventBus, itemSetChangeListeners, selectedItemChangeListeners, state, valueChangeListeners
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Sort
createSort
(Object[] propertyId, boolean[] ascending) void
void
void
void
Methods 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, unbind
Methods inherited from class com.vaadin.flow.data.provider.AbstractDataProvider
addDataProviderListener, addListener, fireEvent, refreshAll, refreshItem, refreshItem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.data.provider.DataProvider
addDataProviderListener, fetch, getId, isInMemory, refreshAll, refreshItem, refreshItem, size, withConfigurableFilter, withConfigurableFilter, withConvertedFilter
Methods inherited from interface io.jmix.flowui.data.DataUnit
addStateChangeListener, getState
Methods 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:
sort
in interfaceGridDataItems.Sortable<T>
-
createSort
-
resetSortOrder
public void resetSortOrder()- Specified by:
resetSortOrder
in interfaceGridDataItems.Sortable<T>
-
suppressSorting
public void suppressSorting()- Specified by:
suppressSorting
in interfaceGridDataItems.Sortable<T>
-
enableSorting
public void enableSorting()- Specified by:
enableSorting
in interfaceGridDataItems.Sortable<T>
-