Share this page

com.hp.lft.sdk.powerbuilder

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

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.powerbuilder.UiObjectBaseDescription.Init<T>
    - - com.hp.lft.sdk.powerbuilder.UiObjectWithLayoutInfoDescription.Init<T>
      - - com.hp.lft.sdk.powerbuilder.ComboBoxDescription.Init<T>

- Direct Known Subclasses:
    ComboBoxDescription.Builder
  Enclosing class:
    ComboBoxDescription

      protected abstract static class ComboBoxDescription.Init<T extends ComboBoxDescription.Init<T>>
      extends UiObjectWithLayoutInfoDescription.Init<T>

  Helper class for ComboBoxDescription.Builder

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ComboBoxDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `items(String[] items)` Initializes the items in the combo box.
    `T` | `itemsCount(Integer count)` Initializes the number of items in the ComboBoxDescription.
    `T` | `selectedItem(String selectedItem)` Initializes the selected item in the ComboBoxDescription.
    `T` | `selectedItem(StringProperty selectedItem)` Initializes the selected item in the ComboBoxDescription.

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

      `rightAligned, rightToLeftLayout, rightToLeftReading`

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

      `absoluteLocation, absoluteLocation, absoluteLocation, attachedText, attachedText, enabled, focused, location, location, location, nativeClass, nativeClass, objectName, objectName, size, size, size, text, text, visible, windowClassRegExp, windowClassRegExp, windowExtendedStyle, windowId, 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 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 ComboBoxDescription.
      Parameters:
        `selectedItem` - the selected item in the ComboBoxDescription.
      Returns:
        the description instance with the update state (builder pattern).

    - #### selectedItem

          public T selectedItem(StringProperty selectedItem)

      Initializes the selected item in the ComboBoxDescription.
      Parameters:
        `selectedItem` - a StringProperty (or RegExpProperty) representing the selected item in the ComboBoxDescription.
      Returns:
        the description instance with the update state (builder pattern).

    - #### itemsCount

          public T itemsCount(Integer count)

      Initializes the number of items in the ComboBoxDescription.
      Parameters:
        `count` - the number of items in the ComboBoxDescription.
      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: