Share this page

com.hp.lft.sdk.powerbuilder

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

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

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

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

  Helper class for WindowDescription.Builder.

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `active(Boolean isActive)` Initializes whether this window is the foreground object
    `T` | `border(Boolean hasBorder)` Initializes whether this window has a thin-line border.
    `WindowDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `caption(Boolean hasCaption)` Initializes whether this window has a title bar.
    `T` | `childWindow(Boolean isChildWindow)` Initializes whether this window is a child window.
    `T` | `maximizable(Boolean isMaximizable)` Initializes whether this window can be maximized.
    `T` | `mdiChildWindow(Boolean isMdiChildWindow)` Initializes whether this window is a multiple-document interface (MDI) child window.
    `T` | `minimizable(Boolean isMinimizable)` Initializes whether this window can be minimized.
    `T` | `ownedWindow(Boolean isOwnedWindow)` Initializes whether this window has an owner window.
    `T` | `popupWindow(Boolean isPopupWindow)` Initializes whether this window is a pop-up window.
    `T` | `sizebox(Boolean hasSizebox)` Initializes whether this window has a sizing border.
    `T` | `systemMenu(Boolean hasSystemMenu)` Initializes whether this window has a window menu on its title bar.
    `T` | `toolWindow(Boolean isToolWindow)` Initializes whether this window is a tool window (a window intended to be used as a floating toolbar).
    `T` | `topmost(Boolean isTopmost)` Initializes whether this object is placed above all non-topmost windows and remains in place, even when the object is deactivated.

    - ### Methods inherited from class com.hp.lft.sdk.powerbuilder.UiObjectWithLayoutInfoDescription.Init

      `rightAligned, rightToLeftLayout, rightToLeftReading`

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

      `absoluteLocation, absoluteLocation, absoluteLocation, attachedText, attachedText, enabled, focused, location, location, location, nativeClass, nativeClass, objectName, objectName, size, size, size, text, text, visible, windowClassRegExp, windowClassRegExp, windowExtendedStyle, windowId, windowStyle, 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(Boolean isActive)

      Initializes whether this window is the foreground object
      Parameters:
        `isActive` - sets whether this window is the foreground object
      Returns:
        the description instance with the update state (builder pattern).

    - #### border

          public T border(Boolean hasBorder)

      Initializes whether this window has a thin-line border.
      Parameters:
        `hasBorder` - sets whether this window has a thin-line border.
      Returns:
        the description instance with the update state (builder pattern).

    - #### caption

          public T caption(Boolean hasCaption)

      Initializes whether this window has a title bar.
      Parameters:
        `hasCaption` - sets whether this window has a title bar.
      Returns:
        the description instance with the update state (builder pattern).

    - #### sizebox

          public T sizebox(Boolean hasSizebox)

      Initializes whether this window has a sizing border.
      Parameters:
        `hasSizebox` - whether this window has a sizing border.
      Returns:
        the description instance with the update state (builder pattern).

    - #### systemMenu

          public T systemMenu(Boolean hasSystemMenu)

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

    - #### childWindow

          public T childWindow(Boolean isChildWindow)

      Initializes whether this window is a child window.
      Parameters:
        `isChildWindow` - sets whether this window is a child window..
      Returns:
        the description instance with the update state (builder pattern).

    - #### ownedWindow

          public T ownedWindow(Boolean isOwnedWindow)

      Initializes whether this window has an owner window.
      Parameters:
        `isOwnedWindow` - sets whether this window has an owner window.
      Returns:
        the description instance with the update state (builder pattern).

    - #### mdiChildWindow

          public T mdiChildWindow(Boolean isMdiChildWindow)

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

    - #### popupWindow

          public T popupWindow(Boolean isPopupWindow)

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

    - #### toolWindow

          public T toolWindow(Boolean isToolWindow)

      Initializes whether this window is a tool window (a window intended to be used as a floating toolbar).
      Parameters:
        `isToolWindow` - sets whether this window is a tool window (a window intended to be used as a floating toolbar).
      Returns:
        the description instance with the update state (builder pattern).

    - #### maximizable

          public T maximizable(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(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).

    - #### topmost

          public T topmost(Boolean isTopmost)

      Initializes whether this object is placed above all non-topmost windows and remains in place, even when the object is deactivated.
      Parameters:
        `isTopmost` - sets whether this window is placed above all non-topmost windows and remains in place, even when the object is deactivated.
      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: