Uses of Interface
is.codion.swing.common.model.component.combobox.FilterComboBoxModel.Builder
Packages that use FilterComboBoxModel.Builder
Package
Description
ComboBox model implementations with filtering support and null handling.
-
Uses of FilterComboBoxModel.Builder in is.codion.swing.common.model.component.combobox
Methods in is.codion.swing.common.model.component.combobox that return FilterComboBoxModel.BuilderModifier and TypeMethodDescriptionFilterComboBoxModel.Builder.async(boolean async) FilterComboBoxModel.Builder.comparator(@Nullable Comparator<T> comparator) FilterComboBoxModel.Builder.filterSelected(boolean filterSelected) Specifies whether filtering the model affects the currently selected item.FilterComboBoxModel.Builder.includeNull(boolean includeNull) <T> FilterComboBoxModel.Builder<T> FilterComboBoxModel.Builder.ItemsStep.items(Collection<T> items) <T> FilterComboBoxModel.Builder<T> FilterComboBoxModel.Builder.ItemsStep.items(Supplier<Collection<T>> items) SetsincludeNull(boolean)to true ifnullItemis non-null, false otherwise.FilterComboBoxModel.Builder.onItemSelected(Consumer<@Nullable T> item) FilterComboBoxModel.Builder.onRefreshException(Consumer<Exception> onRefreshException) By default, exceptions during refresh are rethrown, use this method to handle async exceptions differentlyFilterComboBoxModel.Builder.refresh(boolean refresh) Default false.FilterComboBoxModel.Builder.translator(Function<Object, T> translator) Provides a way for a combo box model to translate an item received viaSingleSelection.item()to an actual item to select, such as selecting the String "1" in a String based model when selected item is set to the Integer 1.