Interface ScrollBar

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

public interface ScrollBar extends UiObjectBase, TestObject
A .NET Windows Forms scroll bar.
  • Method Details

    • getPosition

      int getPosition() throws GeneralLeanFtException
      Returns the scroll bar position.
      Returns:
      the scroll bar position
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • setPosition

      void setPosition(int position) throws GeneralLeanFtException
      Sets the scroll bar position.
      Parameters:
      position - the position
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • nextLine

      void nextLine(int numberOfLines) throws GeneralLeanFtException
      Moves this scroll bar down the specified number of lines or emulates pressing the right arrow key the specified number of times.
      Parameters:
      numberOfLines - the number of lines to move the scroll bar.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • nextLine

      void nextLine() throws GeneralLeanFtException
      Moves the scroll bar downward a single lineor emulates pressing the right arrow key once.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • nextPage

      void nextPage(int numberOfPages) throws GeneralLeanFtException
      Moves this scroll bar down or to the right the specified number of pages.
      Parameters:
      numberOfPages - the number of pages
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • nextPage

      void nextPage() throws GeneralLeanFtException
      Moves the scroll bar down or to the right a single page.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • previousLine

      void previousLine(int numberOfLines) throws GeneralLeanFtException
      Moves this scroll bar up the specified number of lines or emulates pressing the left arrow key the specified number of times.
      Parameters:
      numberOfLines - the number of lines
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • previousLine

      void previousLine() throws GeneralLeanFtException
      Moves the scroll bar up or to the left a single line.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • previousPage

      void previousPage(int numberOfPages) throws GeneralLeanFtException
      Moves the scroll bar up or to the left the specified number of pages.
      Parameters:
      numberOfPages - the number of pages to move the scroll bar
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • previousPage

      void previousPage() throws GeneralLeanFtException
      Moves the scroll bar up or to the left a single page.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getErrorText

      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 error occurs during execution