Package io.jmix.flowui.data.items
Class EnumDataProvider<T>
java.lang.Object
com.vaadin.flow.data.provider.AbstractDataProvider<T,com.vaadin.flow.function.SerializablePredicate<T>>
com.vaadin.flow.data.provider.ListDataProvider<T>
io.jmix.flowui.data.items.EnumDataProvider<T>
- Type Parameters:
T- the type of the enumeration items provided by this data provider
- All Implemented Interfaces:
com.vaadin.flow.data.provider.ConfigurableFilterDataProvider<T,,com.vaadin.flow.function.SerializablePredicate<T>, com.vaadin.flow.function.SerializablePredicate<T>> com.vaadin.flow.data.provider.DataProvider<T,,com.vaadin.flow.function.SerializablePredicate<T>> com.vaadin.flow.data.provider.InMemoryDataProvider<T>,Serializable
public class EnumDataProvider<T>
extends com.vaadin.flow.data.provider.ListDataProvider<T>
A data provider that uses an enumeration type as its data source.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enumeration class used as the data source.Methods inherited from class com.vaadin.flow.data.provider.ListDataProvider
fetch, getFilter, getItems, getSortComparator, setFilter, setSortComparator, sizeMethods 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, getId, refreshAll, refreshItem, refreshItem, withConfigurableFilter, withConfigurableFilter, withConvertedFilterMethods inherited from interface com.vaadin.flow.data.provider.InMemoryDataProvider
addFilter, addFilter, addFilterByValue, addSortComparator, addSortOrder, clearFilters, filteringBy, filteringBy, filteringByEquals, filteringByPrefix, filteringByPrefix, filteringBySubstring, filteringBySubstring, isInMemory, setFilter, setFilterByValue, setSortOrder
-
Field Details
-
enumClass
-
-
Constructor Details
-
EnumDataProvider
-
-
Method Details
-
getEnumClass
Returns the enumeration class used as the data source.- Returns:
- the class of the enumeration used by this data provider
-