Class AiAutoScrollSettings

java.lang.Object
com.hp.lft.sdk.ai.AiAutoScrollSettings

public class AiAutoScrollSettings extends Object
The auto scrolling feature settings, which can be updated during runtime using AiRunSettings.
  • Constructor Details

    • AiAutoScrollSettings

      public AiAutoScrollSettings()
      Constructs a new instance of AiAutoScrollSettings.
  • Method Details

    • enable

      public AiAutoScrollSettings enable()
      Sets the auto scrolling feature to enabled state.
      Returns:
      this instance with the updated state (builder pattern).
    • enable

      public AiAutoScrollSettings enable(ScrollDirection direction, int maxScrolls)
      Sets the auto scrolling feature to enabled state and sets the direction and max pages to scroll settings.
      Parameters:
      direction - the direction in which to scroll.
      maxScrolls - the maximum number of times to scroll in search of the object.
      Returns:
      this instance with the updated state (builder pattern).
    • disable

      public AiAutoScrollSettings disable()
      Sets the auto scrolling feature to disabled state.
      Returns:
      this instance with the updated state (builder pattern).