Enum Class ScrollType

java.lang.Object
java.lang.Enum<ScrollType>
com.hp.lft.sdk.ScrollType
All Implemented Interfaces:
com.hp.lft.sdk.internal.EnumValueProvider<Integer>, Serializable, Comparable<ScrollType>, java.lang.constant.Constable

public enum ScrollType extends Enum<ScrollType> implements com.hp.lft.sdk.internal.EnumValueProvider<Integer>
The type of scrolling operation.
  • Enum Constant Details

    • LINE_DECREMENT

      public static final ScrollType LINE_DECREMENT
      Decrement the scroll by lines.
    • LINE_INCREMENT

      public static final ScrollType LINE_INCREMENT
      Increment the scroll by lines.
    • PAGE_DECREMENT

      public static final ScrollType PAGE_DECREMENT
      Decrement the scroll by pages.
    • PAGE_INCREMENT

      public static final ScrollType PAGE_INCREMENT
      Increment the scroll by pages.
    • SET_SPECIFIC_LINE

      public static final ScrollType SET_SPECIFIC_LINE
      Move the scroll bar to a specific position.
    • FIRST

      public static final ScrollType FIRST
      Move the scroll bar to its beginning.
    • LAST

      public static final ScrollType LAST
      Move the scroll bar to its end position.
  • Method Details

    • values

      public static ScrollType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ScrollType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

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