Package com.hp.lft.sdk.ai
Class AiComboBoxSettings
java.lang.Object
com.hp.lft.sdk.ai.AiComboBoxSettings
- All Implemented Interfaces:
com.hp.lft.sdk.internal.MapHolder
Controls a combo box's AI-based Select operation, which can be updated during runtime using
AiRunSettings
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMap()
For internal use only.setMaxScrollNumber
(int maxScrollNumber) Sets the maximum number of times to scroll in the ComboBox's drop-down list.setScrollDirection
(ComboBoxScrollDirection scrollDirection) Sets whether to scroll up or down in the ComboBox's drop-down list.setTicksPerScroll
(int ticksPerScroll) Sets how many mouse-wheel ticks each scroll advances.
-
Constructor Details
-
AiComboBoxSettings
public AiComboBoxSettings()Constructs a new instance ofAiComboBoxSettings
-
-
Method Details
-
setMaxScrollNumber
Sets the maximum number of times to scroll in the ComboBox's drop-down list. Default: 10- Parameters:
maxScrollNumber
- The maximum number of times to scroll in the ComboBox's drop-down list.- Returns:
- The combo box settings instance with the updated state (builder pattern).
-
setScrollDirection
Sets whether to scroll up or down in the ComboBox's drop-down list. Default: down- Parameters:
scrollDirection
- The scrolling direction in the ComboBox's drop-down list. Possible values: "down", "up".- Returns:
- The combo box settings instance with the updated state (builder pattern).
-
setTicksPerScroll
Sets how many mouse-wheel ticks each scroll advances. Default: 1- Parameters:
ticksPerScroll
- Number of mouse-wheel ticks each scroll advances.- Returns:
- The combo box settings instance with the updated state (builder pattern).
-
getMap
For internal use only.- Specified by:
getMap
in interfacecom.hp.lft.sdk.internal.MapHolder
- Returns:
- for internal use only.
-