com.hp.lft.sdk.ai

Class AiAutoScrollSettings



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

      • AiAutoScrollSettings

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

      • 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).