Module is.codion.swing.common.model
Interface FilterListModel.Builder<T>
- Type Parameters:
T- the item type
- Enclosing interface:
FilterListModel<T>
public static interface FilterListModel.Builder<T>
Builds a
FilterListModel-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionasync(boolean async) build()comparator(@Nullable Comparator<T> comparator)
-
Method Details
-
comparator
- Parameters:
comparator- the comparator to use when sorting- Returns:
- this builder instance
-
async
- Parameters:
async- true if async refresh should be enabled- Returns:
- this builder instance
-
included
- Parameters:
included- thePredicatecontrolling which items should be included- Returns:
- this builder instance
-
build
FilterListModel<T> build()- Returns:
- a new
FilterListModelinstance
-