Share this page

com.hp.lft.sdk.stdwin

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

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.stdwin.UiObjectBaseDescription.Init<T>
    - - com.hp.lft.sdk.stdwin.UiObjectWithLayoutInfoDescription.Init<T>
      - - com.hp.lft.sdk.stdwin.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 UiObjectWithLayoutInfoDescription.Init<T>

  Helper class for ListBoxDescription.Builder

- - ### 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.stdwin.UiObjectWithLayoutInfoDescription.Init

      `rightAligned, rightToLeftLayout, rightToLeftReading`

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

      `absoluteLocation, absoluteLocation, absoluteLocation, accessibleName, accessibleName, attachedText, attachedText, enabled, focused, location, location, location, nativeClass, nativeClass, size, size, size, text, text, visible, windowClassRegExp, windowClassRegExp, windowExtendedStyle, windowExtendedStyle, windowId, windowStyle, windowStyle, 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 number of items in the list.
      Returns:
        the description instance with the update state (builder pattern).

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: