Open topic with navigation

com.hp.lft.sdk.powerbuilder

## Interface UiObjectWithLayoutInfo

- All Superinterfaces:
    Clickable, DoubleClickable, EnabledProvider, LocationInfoProvider, SupportDragAndDrop, SupportSendKeys, UiObjectBase, VisibleProvider, WaitUntilEnabledProvider, WaitUntilVisibleProvider
  All Known Subinterfaces:
    Button, CheckBox, ComboBox, EditField, ListBox, ListView, RadioButton, TabControl, Table, ToolBar, TreeView, UiObject, Window

      public interface UiObjectWithLayoutInfo
      extends UiObjectBase

  Base interface for power builder test objects with layout info.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isRightAligned()` Indicates whether this object has generic "right-aligned" properties.
    `boolean` | `isRightToLeftLayout()` Indicates whether this object's horizontal origin is on the right edge.
    `boolean` | `isRightToLeftReading()` Indicates whether this object's text is displayed using right-to-left reading-order properties.

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

      `getAttachedText, getObjectName, getText, getWindowClassRegExp, getWindowExtendedStyle, getWindowId, getWindowStyle`

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

      `getHandle, getNativeClass, getWindowTitleRegExp, isFocused, 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.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

    - #### isRightAligned

          boolean isRightAligned()
                          throws GeneralLeanFtException

      Indicates whether this object has generic "right-aligned" properties. (For support for right-to-left languages)
      Returns:
        true when this object has generic right-aligned properties..
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### isRightToLeftLayout

          boolean isRightToLeftLayout()
                               throws GeneralLeanFtException

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

    - #### isRightToLeftReading

          boolean isRightToLeftReading()
                                throws GeneralLeanFtException

      Indicates whether this object's text is displayed using right-to-left reading-order properties.
      Returns:
        true when the object's text is displayed using right-to-left reading-order properties.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution