Open topic with navigation

com.hp.lft.sdk.winforms

## Class WindowDescription.Init<T extends WindowDescription.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.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
    --- | ---
    `T` | `active(java.lang.Boolean isActive)` Indicates whether this object is the foreground object
    `T` | `border(java.lang.Boolean hasBorder)` Indicates whether this object has a thin-line border.
    `WindowDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `caption(java.lang.Boolean hasCaption)` Indicates whether this object has a title bar.
    `T` | `maximizable(java.lang.Boolean isMaximizable)` Indicates whether this object can be maximized.
    `T` | `mdiChildWindow(java.lang.Boolean isMdiChildWindow)` Indicates whether this object is a multiple-document interface (MDI) child window.
    `T` | `minimizable(java.lang.Boolean isMinimizable)` Indicates whether this object can be minimized.
    `T` | `popupWindow(java.lang.Boolean isPopupWindow)` Indicates whether this object is a pop-up window.
    `T` | `sizebox(java.lang.Boolean hasSizebox)` Indicates whether this object has a sizing border.
    `T` | `systemMenu(java.lang.Boolean hasSystemMenu)` Indicates whether this object has a window menu on its title bar.
    `T` | `toolWindow(java.lang.Boolean isToolWindow)` Indicates whether this object is intended to be a floating toolbar.
    `T` | `topmost(java.lang.Boolean isTopmost)` Indicates whether this object should stay above all non-topmost windows, even when this object is deactivated.

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

    - #### active

          public T active(java.lang.Boolean isActive)

      Indicates whether this object is the foreground object
      Parameters:
        `isActive` - true if foreground object
      Returns:
        the description instance with the update state (builder pattern)

    - #### border

          public T border(java.lang.Boolean hasBorder)

      Indicates whether this object has a thin-line border.
      Parameters:
        `hasBorder` - true if has a thin-line border
      Returns:
        the description instance with the update state (builder pattern)

    - #### caption

          public T caption(java.lang.Boolean hasCaption)

      Indicates whether this object has a title bar.
      Parameters:
        `hasCaption` - true if has a title bar.
      Returns:
        the description instance with the update state (builder pattern)

    - #### sizebox

          public T sizebox(java.lang.Boolean hasSizebox)

      Indicates whether this object has a sizing border.
      Parameters:
        `hasSizebox` - true if has a sizing border
      Returns:
        the description instance with the update state (builder pattern)

    - #### systemMenu

          public T systemMenu(java.lang.Boolean hasSystemMenu)

      Indicates whether this object has a window menu on its title bar.
      Parameters:
        `hasSystemMenu` - true if has a window menu on its title bar
      Returns:
        the description instance with the update state (builder pattern)

    - #### mdiChildWindow

          public T mdiChildWindow(java.lang.Boolean isMdiChildWindow)

      Indicates whether this object is a multiple-document interface (MDI) child window.
      Parameters:
        `isMdiChildWindow` - true if MDI child window
      Returns:
        the description instance with the update state (builder pattern)

    - #### popupWindow

          public T popupWindow(java.lang.Boolean isPopupWindow)

      Indicates whether this object is a pop-up window.
      Parameters:
        `isPopupWindow` - true if pop-up window
      Returns:
        the description instance with the update state (builder pattern)

    - #### toolWindow

          public T toolWindow(java.lang.Boolean isToolWindow)

      Indicates whether this object is intended to be a floating toolbar.
      Parameters:
        `isToolWindow` - true if intended to be floating toolbar
      Returns:
        the description instance with the update state (builder pattern)

    - #### maximizable

          public T maximizable(java.lang.Boolean isMaximizable)

      Indicates whether this object can be maximized.
      Parameters:
        `isMaximizable` - true if can be maximized
      Returns:
        the description instance with the update state (builder pattern)

    - #### minimizable

          public T minimizable(java.lang.Boolean isMinimizable)

      Indicates whether this object can be minimized.
      Parameters:
        `isMinimizable` - true if can be minimized
      Returns:
        the description instance with the update state (builder pattern)

    - #### topmost

          public T topmost(java.lang.Boolean isTopmost)

      Indicates whether this object should stay above all non-topmost windows, even when this object is deactivated.
      Parameters:
        `isTopmost` - true if should stay above all non-topmost windows
      Returns:
        the description instance with the update state (builder pattern)