Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Class EditorComponents.CreateComponents.FilterListBuilderFactory<T>
java.lang.Object
is.codion.swing.framework.ui.EditorComponents.CreateComponents.FilterListBuilderFactory<T>
- Type Parameters:
T- the value type
- Enclosing class:
EditorComponents.CreateComponents
A factory for list builders for list based attributes.
-
Method Summary
Modifier and TypeMethodDescriptionA JList builder, where the value is represented by the list items.selectedItem(Attribute<T> attribute) A single selection JList builder, where the value is represented by the selected item.selectedItems(Attribute<List<T>> attribute) A multi selection JList builder, where the value is represented by the selected items.
-
Method Details
-
items
A JList builder, where the value is represented by the list items.- Parameters:
attribute- the attribute- Returns:
- a JList builder
-
selectedItems
A multi selection JList builder, where the value is represented by the selected items.- Parameters:
attribute- the attribute- Returns:
- a JList builder
-
selectedItem
A single selection JList builder, where the value is represented by the selected item.- Parameters:
attribute- the attribute- Returns:
- a JList builder
-