Share this page

com.hp.lft.sdk.winforms

## Class EditorDescription.Init<T extends EditorDescription.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.EditorDescription.Init<T>

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

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

- - ### Constructor Summary

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

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `EditorDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `selectedText(java.lang.String selectedText)` Initializes the the selected text in the control.
    `T` | `selectedText(StringProperty selectedText)` Initializes the the selected text in the control.

    - ### 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 EditorDescription build()

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

    - #### selectedText

          public T selectedText(StringProperty selectedText)

      Initializes the the selected text in the control.
      Parameters:
        `selectedText` - a `StringProperty` or `RegExpProperty`
      Returns:
        the description instance with the update state (builder pattern)

    - #### selectedText

          public T selectedText(java.lang.String selectedText)

      Initializes the the selected text in the control.
      Parameters:
        `selectedText` - the selected text
      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: