Class UiObjectDescription

All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable

public class UiObjectDescription extends UiObjectWithLayoutInfoDescription
The description of a standard Windows UiObject test object.
  • Constructor Details

    • UiObjectDescription

      public UiObjectDescription()
      Initializes a new instance of the UiObjectDescription class.
    • UiObjectDescription

      protected UiObjectDescription(UiObjectDescription.Init<?> init)
      Initializes a new instance of the UiObjectDescription class using the Builder pattern.
      Parameters:
      init - the Builder pattern.
  • Method Details

    • setHorizontalScroll

      public void setHorizontalScroll(ScrollProperty scroll)
      Sets the scroll properties for the horizontal scroll bar. Possible values: ScrollProperty
      Parameters:
      scroll - the horizontal scroll bar properties. Possible values: ScrollProperty
    • setHorizontalScroll

      public void setHorizontalScroll(ScrollInfo scroll)
      Sets the scroll info for the horizontal scroll bar. Possible values: ScrollInfo
      Parameters:
      scroll - the horizontal scroll bar information. Possible values: ScrollInfo
    • getHorizontalScroll

      public ScrollProperty getHorizontalScroll()
      Returns the scroll properties for the horizontal scroll bar. Possible values: ScrollProperty
      Returns:
      the scroll properties for the horizontal scroll bar. Possible values: ScrollProperty
    • setVerticalScroll

      public void setVerticalScroll(ScrollProperty scroll)
      Sets the scroll properties for the vertical scroll bar. Possible values: ScrollProperty
      Parameters:
      scroll - the vertical scroll bar properties. ScrollProperty
    • setVerticalScroll

      public void setVerticalScroll(ScrollInfo scroll)
      Sets the scroll info for the vertical scroll bar. Possible values: ScrollInfo
      Parameters:
      scroll - the vertical scroll bar information. Possible values: ScrollInfo
    • getVerticalScroll

      public ScrollProperty getVerticalScroll()
      Returns the scroll properties for the horizontal scroll bar. ScrollProperty
      Returns:
      the scroll properties for the horizontal scroll bar. ScrollProperty