java.lang.Object
io.github.palexdev.materialfx.filter.base.AbstractFilter<T,U>
io.github.palexdev.materialfx.filter.base.NumberFilter<T,Long>
io.github.palexdev.materialfx.filter.LongFilter<T>
Extension of
NumberFilter for long fields.
Offers the following default BiPredicateBeans:
- "is": checks for longs equality
- "is not": checks for longs inequality
- "greater than": checks if a long is greater than another long
- "greater or equal to": checks if a long is greater or equal to another long
- "lesser than": checks if a long is lesser than another long
- "lesser or equal to": checks if a long is lesser or equal to another long
-
Property Summary
Properties inherited from class io.github.palexdev.materialfx.filter.base.AbstractFilter
selectedPredicateIndex -
Field Summary
Fields inherited from class io.github.palexdev.materialfx.filter.base.AbstractFilter
converter, predicates, selectedPredicateIndex -
Constructor Summary
ConstructorsConstructorDescriptionLongFilter(String name, Function<T, Long> extractor) LongFilter(String name, Function<T, Long> extractor, StringConverter<Long> converter) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObservableList<BiPredicateBean<Long,Long>> Every implementation ofAbstractFiltermust define some defaultBiPredicates.protected final LongFilter<T>extend(BiPredicateBean<Long, Long>... predicateBeans) Allows to add some extraBiPredicateBeans alongside the default ones.Methods inherited from class io.github.palexdev.materialfx.filter.base.AbstractFilter
getConverter, getExtractor, getPredicates, getSelectedPredicateIndex, getValue, name, predicateFor, predicateFor, selectedPredicateIndexProperty, setSelectedPredicateIndex, toFilterBean, toFilterBean, toFilterBean, toString
-
Constructor Details
-
LongFilter
-
LongFilter
-
-
Method Details
-
defaultPredicates
Description copied from class:AbstractFilterEvery implementation ofAbstractFiltermust define some defaultBiPredicates.- Specified by:
defaultPredicatesin classAbstractFilter<T,Long>
-
extend
Description copied from class:AbstractFilterAllows to add some extraBiPredicateBeans alongside the default ones.- Specified by:
extendin classAbstractFilter<T,Long>
-