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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum 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 SummaryModifier and TypeMethodDescriptionstatic KeyModifierReturns 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- 
CTRLA control key.
- 
LEFT_CTRLThe left control key.
- 
RIGHT_CTRLThe right control key.
- 
ALTAn Alt key.
- 
LEFT_ALTThe left Alt key.
- 
RIGHT_ALTThe right Alt key.
- 
SHIFTA Shift key.
- 
LEFT_SHIFTThe left Shift key.
- 
RIGHT_SHIFTThe right Shift key.
- 
WINDOWS_LOGOA Windows key.
- 
LEFT_WINDOWS_LOGOThe left Windows key.
- 
RIGHT_WINDOWS_LOGOThe right Windows key.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
 
-