Share this page

com.hp.lft.sdk.wpf

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

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

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

- - ### Constructor Summary

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

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `WindowDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `modal(java.lang.Boolean isModal)` Indicates whether the object is the window is modal.
    `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.

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

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

    - #### modal

          public T modal(java.lang.Boolean isModal)

      Indicates whether the object is the window is modal.
      Parameters:
        `isModal` - whether the object is the modal object
      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)

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: