Share this page

com.hp.lft.sdk.java

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

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

- Direct Known Subclasses:
    DialogDescription.Init, InternalFrameDescription.Init, WindowDescription.Builder
  Enclosing class:
    WindowDescription

      protected abstract static class WindowDescription.Init<T extends WindowDescription.Init<T>>
      extends UiObjectBaseDescription.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` | `javaWindow(java.lang.Boolean isJavaWindow)` Initializes whether the object is a Java window.
    `T` | `maximizable(java.lang.Boolean isMaximizable)` Initializes whether this window can be maximized.
    `T` | `minimizable(java.lang.Boolean isMinimizable)` Initializes whether this window can be minimized.
    `T` | `resizable(java.lang.Boolean isResizable)` Initializes whether this window can be resized.
    `T` | `title(java.lang.String title)` Initializes the window title.
    `T` | `title(StringProperty title)` Initializes the window title.

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

      `absoluteLocation, absoluteLocation, absoluteLocation, attachedText, attachedText, backgroundColor, backgroundColor, enabled, focused, foregroundColor, foregroundColor, label, label, location, location, location, nativeClass, nativeClass, objectName, objectName, objectProperties, path, path, size, size, size, tagName, tagName, visible, wrapped`

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

    - #### javaWindow

          public T javaWindow(java.lang.Boolean isJavaWindow)

      Initializes whether the object is a Java window.
      Parameters:
        `isJavaWindow` - sets whether the object is a Java window.
      Returns:
        the description instance with the update state (builder pattern).

    - #### maximizable

          public T maximizable(java.lang.Boolean isMaximizable)

      Initializes whether this window can be maximized.
      Parameters:
        `isMaximizable` - sets whether this window can be maximized.
      Returns:
        the description instance with the update state (builder pattern).

    - #### minimizable

          public T minimizable(java.lang.Boolean isMinimizable)

      Initializes whether this window can be minimized.
      Parameters:
        `isMinimizable` - sets whether this window can be minimized.
      Returns:
        the description instance with the update state (builder pattern).

    - #### resizable

          public T resizable(java.lang.Boolean isResizable)

      Initializes whether this window can be resized.
      Parameters:
        `isResizable` - true if can be resized.
      Returns:
        the description instance with the update state (builder pattern).

    - #### title

          public T title(StringProperty title)

      Initializes the window title.
      Parameters:
        `title` - a `StringProperty` or `RegExpProperty`.
      Returns:
        the description instance with the update state (builder pattern).

    - #### title

          public T title(java.lang.String title)

      Initializes the window title.
      Parameters:
        `title` - the window title.
      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: