Interface ListBuilder.Factory<T>

Enclosing interface:
ListBuilder<T,V,B extends ListBuilder<T,V,B>>

public static interface ListBuilder.Factory<T>
A factory for list builders, depending on what the component value should represent.
  • Method Details

    • items

      A JList builder, where the value is represented by the list items.
      Returns:
      a JList builder
    • items

      ListBuilder.Items<T> items(Value<Set<T>> linkedValue)
      A JList builder, where the value is represented by the list items.
      Parameters:
      linkedValue - the value to link to the list items
      Returns:
      a JList builder
    • selectedItems

      ListBuilder.SelectedItems<T> selectedItems()
      A multi selection JList builder, where the value is represented by the selected items.
      Returns:
      a JList builder
    • selectedItems

      ListBuilder.SelectedItems<T> selectedItems(Value<Set<T>> linkedValue)
      A multi selection JList builder, where the value is represented by the selected items.
      Parameters:
      linkedValue - the value to link to the selected items
      Returns:
      a JList builder
    • selectedItem

      ListBuilder.SelectedItem<T> selectedItem()
      A single-selection JList builder, where the value is represented by the selected item.
      Returns:
      a JList builder
    • selectedItem

      ListBuilder.SelectedItem<T> selectedItem(Value<T> linkedValue)
      A single-selection JList builder, where the value is represented by the selected item.
      Parameters:
      linkedValue - the value to link to the selected item
      Returns:
      a JList builder