Module MaterialFX

Class EnumFilter<T,E extends Enum<E>>

java.lang.Object
io.github.palexdev.materialfx.filter.base.AbstractFilter<T,E>
io.github.palexdev.materialfx.filter.EnumFilter<T,E>

public class EnumFilter<T,E extends Enum<E>> extends AbstractFilter<T,E>
Extension of AbstractFilter for Enum fields.

Offers the following default BiPredicateBeans:

- "is": checks for enums equality

- "is not": checks for enums inequality

This filter is special because to extract the enumerations of a given E enum, it's needed to also pass the type to the constructor. This is necessary for the EnumStringConverter.