Module is.codion.swing.common.ui
Interface FilterList.Builder.Factory<T>
- Enclosing interface:
FilterList.Builder<V,T, B extends FilterList.Builder<V, T, B>>
public static interface FilterList.Builder.Factory<T>
A factory for list builders, depending on what the component value should represent.
-
Method Summary
Modifier and TypeMethodDescriptionitems()A JList builder, where the value is represented by the list items.A single-selection JList builder, where the value is represented by the selected item.A multi selection JList builder, where the value is represented by the selected items.
-
Method Details
-
items
FilterList.Builder.Items<T> items()A JList builder, where the value is represented by the list items.- Returns:
- a JList builder
-
selectedItems
FilterList.Builder.SelectedItems<T> selectedItems()A multi selection JList builder, where the value is represented by the selected items.- Returns:
- a JList builder
-
selectedItem
FilterList.Builder.SelectedItem<T> selectedItem()A single-selection JList builder, where the value is represented by the selected item.- Returns:
- a JList builder
-