Module is.codion.swing.common.model
Interface ItemComboBoxModel.Builder<T>
- Type Parameters:
T
- the item type
- Enclosing class:
- ItemComboBoxModel
public static interface ItemComboBoxModel.Builder<T>
Builds an
Item
based FilterComboBoxModel
-
Method Details
-
sorted
Default false.- Parameters:
sorted
- true if the items should be sorted- Returns:
- this builder instance
-
sorted
- Parameters:
comparator
- the comparator to sort by- Returns:
- this builder instance
-
build
FilterComboBoxModel<Item<T>> build()- Returns:
- a new
FilterComboBoxModel
-