Package org.libvirt
Enum Class KeycodeSet
- All Implemented Interfaces:
Serializable
,Comparable<KeycodeSet>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAT set 1 key codesAT set 2 key codesAT set 3 key codesLinux key code set.Apple OS-X virtual key codesKey code set as used by GTK-VNC and QEMUKey code set as defined by the USB HID specificationMicrosoft Windows virtual key code setIBM XT keyboard code set -
Method Summary
Modifier and TypeMethodDescriptionstatic KeycodeSet
Returns the enum constant of this class with the specified name.static KeycodeSet[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LINUX
Linux key code set.Defined in the linux/input.h header, this set of key codes is able to represent any scan code from any type of keyboard.
-
XT
IBM XT keyboard code set -
ATSET1
AT set 1 key codes -
ATSET2
AT set 2 key codes -
ATSET3
AT set 3 key codes -
OSX
Apple OS-X virtual key codes -
XT_KBD
-
USB
Key code set as defined by the USB HID specification -
WIN32
Microsoft Windows virtual key code setReference: MSDN Virtual-Key Codes.
-
RFB
Key code set as used by GTK-VNC and QEMU
-
-
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
-