Share this page

com.hp.lft.sdk.winforms

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

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

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

- - ### Constructor Summary

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

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `T` | `attachedText(java.lang.String attachedText)` Initializes the static text that is attached to this object.
    `T` | `attachedText(StringProperty attachedText)` Initializes the static text that is attached to this object.
    `StatusBarDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `items(java.lang.String[] items)` Initializes the items in the status bar.
    `T` | `itemsCount(java.lang.Integer count)` Initializes the number of items in the status bar.
    `T` | `rightAligned(java.lang.Boolean isRightAligned)` Initializes whether the object has generic right-aligned properties.
    `T` | `rightToLeftLayout(java.lang.Boolean isRightToLeftLayout)` Initializes whether the object's horizontal origin is on the right edge.
    `T` | `rightToLeftReading(java.lang.Boolean isRightToLeftReading)` Initializes whether the object's text is displayed using right-to-left reading-order properties.
    `T` | `windowExtendedStyle(java.util.EnumSet<WindowExtendedStyles> windowExtendedStyle)` Sets the extended window style of the object.
    `T` | `windowExtendedStyle(java.lang.Long windowExtendedStyle)` Sets the extended window style of the object as long. Note: the two windowExtendedStyle overloads are mutually exclusive, using both will cause a runtime exception.
    `T` | `windowStyle(java.util.EnumSet<WindowStyles> windowStyle)` Sets the window style of the object.
    `T` | `windowStyle(java.lang.Long windowStyle)` Sets the window style of the object as long. Note: the two windowStyle overloads are mutually exclusive, using both will cause a runtime exception.

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

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

    - #### items

          public T items(java.lang.String[] items)

      Initializes the items in the status bar.
      Parameters:
        `items` - the items in the status bar.
      Returns:
        the description instance with the update state (builder pattern)

    - #### itemsCount

          public T itemsCount(java.lang.Integer count)

      Initializes the number of items in the status bar.
      Parameters:
        `count` - the item count
      Returns:
        the description instance with the update state (builder pattern)

    - #### rightAligned

          public T rightAligned(java.lang.Boolean isRightAligned)

      Initializes whether the object has generic right-aligned properties.
      Parameters:
        `isRightAligned` - true if has generic right-aligned properties
      Returns:
        the description instance with the update state (builder pattern)

    - #### rightToLeftLayout

          public T rightToLeftLayout(java.lang.Boolean isRightToLeftLayout)

      Initializes whether the object's horizontal origin is on the right edge.
      Parameters:
        `isRightToLeftLayout` - true if horizontal origin on right edge
      Returns:
        the description instance with the update state (builder pattern)

    - #### rightToLeftReading

          public T rightToLeftReading(java.lang.Boolean isRightToLeftReading)

      Initializes whether the object's text is displayed using right-to-left reading-order properties.
      Parameters:
        `isRightToLeftReading` - true if text is displayed right-to-left
      Returns:
        the description instance with the update state (builder pattern)

    - #### attachedText

          public T attachedText(StringProperty attachedText)

      Initializes the static text that is attached to this object.
      Parameters:
        `attachedText` - a `StringProperty` or `RegExpProperty`
      Returns:
        the description instance with the update state (builder pattern)

    - #### attachedText

          public T attachedText(java.lang.String attachedText)

      Initializes the static text that is attached to this object.
      Parameters:
        `attachedText` - the static text
      Returns:
        the description instance with the update state (builder pattern)

    - #### windowExtendedStyle

          public T windowExtendedStyle(java.util.EnumSet<WindowExtendedStyles> windowExtendedStyle)

      Sets the extended window style of the object. Possible values: `WindowExtendedStyles`
      Note: the two windowExtendedStyle overloads are mutually exclusive, using both will cause a runtime exception.
      Parameters:
        `windowExtendedStyle` - the extended window style of the object.
      Returns:
        the extended window style of the object.

    - #### windowStyle

          public T windowStyle(java.util.EnumSet<WindowStyles> windowStyle)

      Sets the window style of the object. Possible values: `WindowStyles`
      Note: the two windowStyle overloads are mutually exclusive, using both will cause a runtime exception.
      Parameters:
        `windowStyle` - the window style of the object. Possible values: `WindowStyles`
      Returns:
        the window style of the object.

    - #### windowExtendedStyle

          public T windowExtendedStyle(java.lang.Long windowExtendedStyle)

      Sets the extended window style of the object as long.
      Note: the two windowExtendedStyle overloads are mutually exclusive, using both will cause a runtime exception.
      Parameters:
        `windowExtendedStyle` - the extended window style of the object as long.
      Returns:
        the extended window style of the object.

    - #### windowStyle

          public T windowStyle(java.lang.Long windowStyle)

      Sets the window style of the object as long.
      Note: the two windowStyle overloads are mutually exclusive, using both will cause a runtime exception.
      Parameters:
        `windowStyle` - the window style of the object as long.
      Returns:
        the window style of the object.

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: