Share this page

com.hp.lft.sdk.te

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

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.te.WindowDescription.Init<T>

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

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

  Helper class for WindowDescription.Builder.

- - ### 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` | `emulatorStatus(EmulatorStatus emulatorStatus)` Initializes the current emulator status.
    `T` | `handle(java.lang.Integer handle)` Initializes a handle to a window.
    `T` | `protocol(Protocol protocol)` Initializes the current protocol.
    `T` | `shortName(java.lang.String shortName)` Initializes the short name of the window.
    `T` | `shortName(StringProperty shortName)` Initializes the short name of the window.

    - ### 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).

    - #### shortName

          public T shortName(java.lang.String shortName)

      Initializes the short name of the window.
      Parameters:
        `shortName` - the short name of the window.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### shortName

          public T shortName(StringProperty shortName)

      Initializes the short name of the window.
      Parameters:
        `shortName` - a StringProperty(or RegExpProperty) representing the short name of the window.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### protocol

          public T protocol(Protocol protocol)

      Initializes the current protocol.
      Parameters:
        `protocol` - the current protocol.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### emulatorStatus

          public T emulatorStatus(EmulatorStatus emulatorStatus)

      Initializes the current emulator status.
      Parameters:
        `emulatorStatus` - the current emulator status.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### handle

          public T handle(java.lang.Integer handle)

      Initializes a handle to a window.
      Parameters:
        `handle` - the handle to a window.
      Returns:
        the description instance with the updated 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: