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

public final class EditorComponents.CreateComponents.FilterListBuilderFactory<T> extends Object
A factory for list builders for list based attributes.
  • Method Details

    • items

      public FilterList.Builder.Items<T> items(Attribute<List<T>> attribute)
      A JList builder, where the value is represented by the list items.
      Parameters:
      attribute - the attribute
      Returns:
      a JList builder
    • selectedItems

      public FilterList.Builder.SelectedItems<T> selectedItems(Attribute<List<T>> attribute)
      A multi selection JList builder, where the value is represented by the selected items.
      Parameters:
      attribute - the attribute
      Returns:
      a JList builder
    • selectedItem

      public FilterList.Builder.SelectedItem<T> selectedItem(Attribute<T> attribute)
      A single selection JList builder, where the value is represented by the selected item.
      Parameters:
      attribute - the attribute
      Returns:
      a JList builder