Package org.libvirt
Enum KeycodeSet
- java.lang.Object
-
- java.lang.Enum<KeycodeSet>
-
- org.libvirt.KeycodeSet
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<KeycodeSet>
public enum KeycodeSet extends java.lang.Enum<KeycodeSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATSET1
AT set 1 key codesATSET2
AT set 2 key codesATSET3
AT set 3 key codesLINUX
Linux key code set.OSX
Apple OS-X virtual key codesRFB
Key code set as used by GTK-VNC and QEMUUSB
Key code set as defined by the USB HID specificationWIN32
Microsoft Windows virtual key code setXT
IBM XT keyboard code setXT_KBD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeycodeSet
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static KeycodeSet[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LINUX
public static final KeycodeSet 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
public static final KeycodeSet XT
IBM XT keyboard code set
-
ATSET1
public static final KeycodeSet ATSET1
AT set 1 key codes
-
ATSET2
public static final KeycodeSet ATSET2
AT set 2 key codes
-
ATSET3
public static final KeycodeSet ATSET3
AT set 3 key codes
-
OSX
public static final KeycodeSet OSX
Apple OS-X virtual key codes
-
XT_KBD
public static final KeycodeSet XT_KBD
-
USB
public static final KeycodeSet USB
Key code set as defined by the USB HID specification
-
WIN32
public static final KeycodeSet WIN32
Microsoft Windows virtual key code setReference: MSDN Virtual-Key Codes.
-
RFB
public static final KeycodeSet RFB
Key code set as used by GTK-VNC and QEMU
-
-
Method Detail
-
values
public static KeycodeSet[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KeycodeSet c : KeycodeSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeycodeSet valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-