Package io.jmix.flowui.model.impl
Class CollectionContainerSorter
java.lang.Object
io.jmix.flowui.model.impl.BaseContainerSorter
io.jmix.flowui.model.impl.CollectionContainerSorter
- All Implemented Interfaces:
Sorter
Standard implementation of sorting
CollectionContainer
s.-
Field Summary
Fields inherited from class io.jmix.flowui.model.impl.BaseContainerSorter
beanFactory
-
Constructor Summary
ConstructorDescriptionCollectionContainerSorter
(CollectionContainer<?> container, BaseCollectionLoader loader, org.springframework.beans.factory.BeanFactory beanFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
setItemsToContainer
(List<?> list) void
Sorts data according to the givenSort
parameters.Methods inherited from class io.jmix.flowui.model.impl.BaseContainerSorter
createComparator, getContainer, sortInMemory
-
Constructor Details
-
CollectionContainerSorter
public CollectionContainerSorter(CollectionContainer<?> container, @Nullable BaseCollectionLoader loader, org.springframework.beans.factory.BeanFactory beanFactory)
-
-
Method Details
-
setItemsToContainer
- Specified by:
setItemsToContainer
in classBaseContainerSorter
-
sort
Description copied from interface:Sorter
Sorts data according to the givenSort
parameters.- Specified by:
sort
in interfaceSorter
- Overrides:
sort
in classBaseContainerSorter
-