Open topic with navigation

com.hp.lft.sdk.winforms

## Class ListBoxDescription.Init<T extends ListBoxDescription.Init<T>>

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.winforms.UiObjectDescriptionBase.Init<T>
    - - com.hp.lft.sdk.winforms.ListBoxDescription.Init<T>

- Direct Known Subclasses:
    ListBoxDescription.Builder, ListViewDescription.Init
  Enclosing class:
    ListBoxDescription

      protected abstract static class ListBoxDescription.Init<T extends ListBoxDescription.Init<T>>
      extends UiObjectDescriptionBase.Init<T>

- - ### Constructor Summary

    Modifier | Constructor and Description
    --- | ---
    `protected` | `Init()`

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `ListBoxDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `items(java.lang.String[] items)` Initializes the items in the list.
    `T` | `itemsCount(java.lang.Integer count)` Initializes the number of items in the list.
    `T` | `selectedItems(java.lang.String[] selectedItems)` Initializes the selected items in the list.

    - ### Methods inherited from class com.hp.lft.sdk.winforms.UiObjectDescriptionBase.Init

      `absoluteLocation, absoluteLocation, absoluteLocation, childWindow, enabled, focused, fullNamePath, fullNamePath, fullType, fullType, location, location, location, nativeClass, nativeClass, objectName, objectName, objectProperties, ownedWindow, size, size, size, text, text, visible, windowClassRegExp, windowClassRegExp, windowId, windowTitleRegExp, windowTitleRegExp`

    - ### Methods inherited from class com.hp.lft.sdk.DescriptionBase.Init

      `index, self, vri, vri`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Init

          protected Init()

  - ### Method Detail

    - #### build

          public ListBoxDescription build()

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

    - #### items

          public T items(java.lang.String[] items)

      Initializes the items in the list.
      Parameters:
        `items` - the items in the list
      Returns:
        the description instance with the update state (builder pattern)

    - #### selectedItems

          public T selectedItems(java.lang.String[] selectedItems)

      Initializes the selected items in the list.
      Parameters:
        `selectedItems` - the selected items in the list.
      Returns:
        the description instance with the update state (builder pattern)

    - #### itemsCount

          public T itemsCount(java.lang.Integer count)

      Initializes the number of items in the list.
      Parameters:
        `count` - the item count
      Returns:
        the description instance with the update state (builder pattern)