Class ComboBoxDescription.Init<T extends ComboBoxDescription.Init<T>>

Direct Known Subclasses:
ComboBoxDescription.Builder
Enclosing class:
ComboBoxDescription

protected abstract static class ComboBoxDescription.Init<T extends ComboBoxDescription.Init<T>> extends UiObjectDescriptionBase.Init<T>
  • Constructor Details

    • Init

      protected Init()
  • Method Details

    • build

      public ComboBoxDescription build()
      Description copied from class: DescriptionBase.Init
      Returns the built description instance (builder pattern).
      Overrides:
      build in class DescriptionBase.Init<T extends ComboBoxDescription.Init<T>>
      Returns:
      The built description instance (builder pattern).
    • items

      public T items(String[] items)
      Initializes the items in the combo box.
      Parameters:
      items - the items in the combo box
      Returns:
      the description instance with the update state (builder pattern)
    • selectedItem

      public T selectedItem(String selectedItem)
      Initializes the selected item in the combo box
      Parameters:
      selectedItem - the selected item in the combo box
      Returns:
      the description instance with the update state (builder pattern)
    • selectedItem

      public T selectedItem(StringProperty selectedItem)
      Initializes the selected item in the combo box.
      Parameters:
      selectedItem - a StringProperty or RegExpProperty
      Returns:
      the description instance with the update state (builder pattern)
    • itemsCount

      public T itemsCount(Integer count)
      Initializes the number of items in the combo box.
      Parameters:
      count - the item count
      Returns:
      the description instance with the update state (builder pattern)