com.hp.lft.sdk.uiapro

Enum ScrollAmount

Supported in UFT Developer version 24.2 and later

UIA Pro is supported as a technical preview.

    • Enum Constant Summary

      Enum Constant and Description
      LargeDecrement
      Specifies that scrolling is done in large decrements, equivalent to PageUp or clicking on a blank part of a scrollbar.
      LargeIncrement
      Specifies that scrolling is done in large increments, equivalent to a PageDown or clicking on the track of a scrollbar component.
      SmallDecrement
      Specifies that scrolling is done in small decrements, equivalent to pressing an arrow key or clicking the arrow button on a scrollbar.
      SmallIncrement
      Specifies that scrolling is done in small increments, equivalent to pressing an arrow key or clicking the arrow button on a scrollbar.
    • Enum Constant Detail

      • SmallIncrement

        public static final ScrollAmount SmallIncrement
        Specifies that scrolling is done in small increments, equivalent to pressing an arrow key or clicking the arrow button on a scrollbar.
      • LargeIncrement

        public static final ScrollAmount LargeIncrement
        Specifies that scrolling is done in large increments, equivalent to a PageDown or clicking on the track of a scrollbar component. equal to the current visible region.
      • SmallDecrement

        public static final ScrollAmount SmallDecrement
        Specifies that scrolling is done in small decrements, equivalent to pressing an arrow key or clicking the arrow button on a scrollbar.
      • LargeDecrement

        public static final ScrollAmount LargeDecrement
        Specifies that scrolling is done in large decrements, equivalent to PageUp or clicking on a blank part of a scrollbar. equal to the current visible window.
    • Method Detail

      • values

        public static ScrollAmount[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ScrollAmount c : ScrollAmount.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ScrollAmount valueOf(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public Integer getValue()
        Returns the integer value representing the ScrollAmount value.
        Specified by:
        getValue in interface com.hp.lft.sdk.internal.EnumValueProvider<Integer>
        Returns:
        the integer value representing the ScrollAmount value.