Package com.hp.lft.sdk.ai
Class AiAutoScrollSettings
java.lang.Object
com.hp.lft.sdk.ai.AiAutoScrollSettings
The auto scrolling feature settings, which can be updated during runtime using
AiRunSettings
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisable()
Sets the auto scrolling feature to disabled state.enable()
Sets the auto scrolling feature to enabled state.enable
(ScrollDirection direction, int maxScrolls) Sets the auto scrolling feature to enabled state and sets the direction and max pages to scroll settings.
-
Constructor Details
-
AiAutoScrollSettings
public AiAutoScrollSettings()Constructs a new instance ofAiAutoScrollSettings
.
-
-
Method Details
-
enable
Sets the auto scrolling feature to enabled state.- Returns:
- this instance with the updated state (builder pattern).
-
enable
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
Sets the auto scrolling feature to disabled state.- Returns:
- this instance with the updated state (builder pattern).
-