Package com.hp.lft.sdk
Enum Class 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMove the scroll bar to its beginning.Move the scroll bar to its end position.Decrement the scroll by lines.Increment the scroll by lines.Decrement the scroll by pages.Increment the scroll by pages.Move the scroll bar to a specific position. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Returns the integer value representing the ScrollType value.static ScrollType
Returns the enum constant of this class with the specified name.static ScrollType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LINE_DECREMENT
Decrement the scroll by lines. -
LINE_INCREMENT
Increment the scroll by lines. -
PAGE_DECREMENT
Decrement the scroll by pages. -
PAGE_INCREMENT
Increment the scroll by pages. -
SET_SPECIFIC_LINE
Move the scroll bar to a specific position. -
FIRST
Move the scroll bar to its beginning. -
LAST
Move the scroll bar to its end position.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getValue
Returns the integer value representing the ScrollType value.- Specified by:
getValue
in interfacecom.hp.lft.sdk.internal.EnumValueProvider<Integer>
- Returns:
- the integer value representing the ScrollType value.
-