Share this page

com.hp.lft.sdk.wpf

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

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.wpf.UiObjectDescriptionBase.Init<T>
    - - com.hp.lft.sdk.wpf.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 Summary

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

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `ListDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `helpText(java.lang.String helpText)` Initializes help text associated with this object.
    `T` | `helpText(StringProperty helpText)` Initializes the help text associated with this object.
    `T` | `items(java.lang.String[] items)` Initializes the list of all items in the list object.
    `T` | `name(java.lang.String name)` Initializes the name of this object.
    `T` | `name(StringProperty name)` Initializes the name of this object.
    `T` | `parentText(java.lang.String parentText)` Initializes the text associated with the parent object of this object.
    `T` | `parentText(StringProperty parentText)` Initializes text associated with the parent object of this object.
    `T` | `selectedItems(java.lang.String[] selectedItems)` Initializes the list of items that are selected in the list object.
    `T` | `selectMultiple(java.lang.Boolean isSelectMultiple)` Initializes whether the container allows more than one child element to be selected concurrently.

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

      `absoluteLocation, absoluteLocation, absoluteLocation, attachedText, attachedText, canFocus, enabled, focused, fullNamePath, fullNamePath, fullType, fullType, location, location, location, nativeClass, nativeClass, objectName, objectName, objectProperties, size, size, size, text, text, visible, 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 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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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)

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: