Class AiComboBoxSettings

java.lang.Object
com.hp.lft.sdk.ai.AiComboBoxSettings
All Implemented Interfaces:
com.hp.lft.sdk.internal.MapHolder

public class AiComboBoxSettings extends Object implements com.hp.lft.sdk.internal.MapHolder
Controls a combo box's AI-based Select operation, which can be updated during runtime using AiRunSettings.
  • Constructor Details

    • AiComboBoxSettings

      public AiComboBoxSettings()
      Constructs a new instance of AiComboBoxSettings
  • Method Details

    • setMaxScrollNumber

      public AiComboBoxSettings setMaxScrollNumber(int maxScrollNumber)
      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

      public AiComboBoxSettings setScrollDirection(ComboBoxScrollDirection scrollDirection)
      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

      public AiComboBoxSettings setTicksPerScroll(int ticksPerScroll)
      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

      public Map<String,Object> getMap()
      For internal use only.
      Specified by:
      getMap in interface com.hp.lft.sdk.internal.MapHolder
      Returns:
      for internal use only.