Class ListDescription.Init<T extends ListDescription.Init<T>>

Direct Known Subclasses:
ListDescription.Builder
Enclosing class:
ListDescription

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

    • Init

      protected Init()
  • Method Details

    • build

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

      public T selectMultiple(Boolean isSelectMultiple)
      Initializes whether the container allows more than one child element to be selected concurrently.
      Parameters:
      isSelectMultiple - whether the container allows more than one child element to be selected concurrently.
      Returns:
      the description instance with the update state (builder pattern)
    • parentText

      public T parentText(StringProperty parentText)
      Initializes text associated with the parent object of this object.
      Parameters:
      parentText - a StringProperty or RegExpProperty
      Returns:
      the description instance with the update state (builder pattern)
    • parentText

      public T parentText(String parentText)
      Initializes the text associated with the parent object of this object.
      Parameters:
      parentText - the text to associate with the parent object
      Returns:
      the description instance with the update state (builder pattern)
    • name

      public T name(StringProperty name)
      Initializes the name of this object.
      Parameters:
      name - a StringProperty(or RegExpProperty) representing the text associated with the name of the object.
      Returns:
      the description instance with the update state (builder pattern)
    • name

      public T name(String name)
      Initializes the name of this object.
      Parameters:
      name - the name of this object
      Returns:
      the description instance with the update state (builder pattern)
    • helpText

      public T helpText(StringProperty helpText)
      Initializes the help text associated with this object.
      Parameters:
      helpText - a StringProperty or RegExpProperty
      Returns:
      the description instance with the update state (builder pattern)
    • helpText

      public T helpText(String helpText)
      Initializes help text associated with this object.
      Parameters:
      helpText - the help text associated with the this object
      Returns:
      the description instance with the update state (builder pattern)
    • items

      public T items(String[] items)
      Initializes the list of all items in the list object.
      Parameters:
      items - the list of all items in the list object.
      Returns:
      the description instance with the update state (builder pattern)
    • selectedItems

      public T selectedItems(String[] selectedItems)
      Initializes the list of items that are selected in the list object.
      Parameters:
      selectedItems - the list of items that are selected in the list object.
      Returns:
      the description instance with the update state (builder pattern)