Package com.hp.lft.sdk
Enum Class KeyModifier
- All Implemented Interfaces:
Serializable
,Comparable<KeyModifier>
,java.lang.constant.Constable
Represents keyboard keys that can be pressed and held down during the execution of a method, such as the SendKeys method.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn Alt key.A control key.The left Alt key.The left control key.The left Shift key.The left Windows key.The right Alt key.The right control key.The right Shift key.The right Windows key.A Shift key.A Windows key. -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyModifier
Returns the enum constant of this class with the specified name.static KeyModifier[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CTRL
A control key. -
LEFT_CTRL
The left control key. -
RIGHT_CTRL
The right control key. -
ALT
An Alt key. -
LEFT_ALT
The left Alt key. -
RIGHT_ALT
The right Alt key. -
SHIFT
A Shift key. -
LEFT_SHIFT
The left Shift key. -
RIGHT_SHIFT
The right Shift key. -
WINDOWS_LOGO
A Windows key. -
LEFT_WINDOWS_LOGO
The left Windows key. -
RIGHT_WINDOWS_LOGO
The right Windows key.
-
-
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
-