Open topic with navigation

com.hp.lft.sdk.winforms

## Interface StatusBar

- All Superinterfaces:
    Clickable, DoubleClickable, LocationInfoProvider, SupportDragAndDrop, SupportSendKeys, SupportsNativeObject, TestObject, TestObjectDescriber, UiObjectBase, VisibleProvider, WaitUntilVisibleProvider, WaitUntilEnabledProvider, EnabledProvider

      public interface StatusBar
      extends UiObjectBase, TestObject

  A .NET Windows Forms status bar object.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getAttachedText()` Returns the static text that is attached to this control.
    `java.lang.String` | `getErrorText()` Returns the tooltip text of the error icon associated with this object.
    `java.util.List<java.lang.String>` | `getItems()` Returns the items (parts) in the status bar.
    `java.util.EnumSet<WindowExtendedStyles>` | `getWindowExtendedStyle()` Returns the extended window style of this status bar.
    `long` | `getWindowExtendedStyleAsLong()` Returns the extended window style of the object as long.
    `java.util.EnumSet<WindowStyles>` | `getWindowStyle()` Returns the window style of this status bar.
    `long` | `getWindowStyleAsLong()` Returns the window style of the object as long.
    `boolean` | `isRightAligned()` Indicates whether this status bar has generic "right-aligned" properties.
    `boolean` | `isRightToLeftLayout()` Indicates whether this status bar's horizontal origin is on the right edge.
    `boolean` | `isRightToLeftReading()` Indicates whether this status bar's text is displayed right-to-left.

    - ### Methods inherited from interface com.hp.lft.sdk.winforms.UiObjectBase

      `fireEvent, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, getWindowClassRegExp, getWindowId, isChildWindow, isOwnedWindow`

    - ### Methods inherited from interface com.hp.lft.sdk.UiObjectBase

      `getHandle, getNativeClass, getWindowTitleRegExp, isEnabled, isFocused, isVisible, mouseMove`

    - ### Methods inherited from interface com.hp.lft.sdk.Clickable

      `click, click, click`

    - ### Methods inherited from interface com.hp.lft.sdk.DoubleClickable

      `doubleClick, doubleClick, doubleClick`

    - ### Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider

      `getAbsoluteLocation, getLocation, getSize`

    - ### Methods inherited from interface com.hp.lft.sdk.SupportSendKeys

      `sendKeys, sendKeys`

    - ### Methods inherited from interface com.hp.lft.sdk.SupportDragAndDrop

      `dragAndDropOn, dragAndDropOn`

    - ### Methods inherited from interface com.hp.lft.sdk.SupportsNativeObject

      `getNativeObject`

    - ### Methods inherited from interface com.hp.lft.sdk.TestObject

      `exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExists`

    - ### Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber

      `describe`

    - ### Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider

      `waitUntilEnabled, waitUntilEnabled`

    - ### Methods inherited from interface com.hp.lft.sdk.EnabledProvider

      `isEnabled`

    - ### Methods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider

      `waitUntilVisible, waitUntilVisible`

    - ### Methods inherited from interface com.hp.lft.sdk.VisibleProvider

      `isVisible`

- - ### Method Detail

    - #### getItems

          java.util.List<java.lang.String> getItems()
                                             throws GeneralLeanFtException

      Returns the items (parts) in the status bar.
      Returns:
        the items (parts) in the status bar.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### isRightAligned

          boolean isRightAligned()
                          throws GeneralLeanFtException

      Indicates whether this status bar has generic "right-aligned" properties.
      Returns:
        true if has generic right-aligned properties.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### isRightToLeftLayout

          boolean isRightToLeftLayout()
                               throws GeneralLeanFtException

      Indicates whether this status bar's horizontal origin is on the right edge.
      Returns:
        true if horizontal origin is on the right edge.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### isRightToLeftReading

          boolean isRightToLeftReading()
                                throws GeneralLeanFtException

      Indicates whether this status bar's text is displayed right-to-left.
      Returns:
        true if right-to-left
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getWindowExtendedStyle

          java.util.EnumSet<WindowExtendedStyles> getWindowExtendedStyle()
                                                                  throws GeneralLeanFtException

      Returns the extended window style of this status bar.
      Returns:
        the extended window style
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getWindowExtendedStyleAsLong

          long getWindowExtendedStyleAsLong()
                                     throws GeneralLeanFtException

      Returns the extended window style of the object as long.
      Returns:
        the extended window style of the object as long.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getWindowStyle

          java.util.EnumSet<WindowStyles> getWindowStyle()
                                                  throws GeneralLeanFtException

      Returns the window style of this status bar.
      Returns:
        the window style
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getWindowStyleAsLong

          long getWindowStyleAsLong()
                             throws GeneralLeanFtException

      Returns the window style of the object as long.
      Returns:
        the window style of the object as long.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getAttachedText

          java.lang.String getAttachedText()
                                    throws GeneralLeanFtException

      Returns the static text that is attached to this control.
      Returns:
        the static text that is attached to this control.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getErrorText

          java.lang.String getErrorText()
                                 throws GeneralLeanFtException

      Returns the tooltip text of the error icon associated with this object.
      Returns:
        the tooltip text of the error icon associated with this object.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.