Module is.codion.swing.framework.ui
Interface EntityComponents.EntityListBuilderFactory<T>
- Type Parameters:
T
- the value type
- Enclosing class:
- EntityComponents
public static interface EntityComponents.EntityListBuilderFactory<T>
A factory for list builders.
-
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
-