org.virtualbox_4_1
Enum KeyboardHidType

java.lang.Object
  extended by java.lang.Enum<KeyboardHidType>
      extended by org.virtualbox_4_1.KeyboardHidType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<KeyboardHidType>

public enum KeyboardHidType
extends java.lang.Enum<KeyboardHidType>

Type of keyboard device used in a virtual machine. Interface ID: {5A5B0996-3A3E-44BB-9019-56979812CBCC}


Enum Constant Summary
ComboKeyboard
          Combined device, working as PS/2 or USB keyboard, depending on guest behavior.
None
          No keyboard.
PS2Keyboard
          PS/2 keyboard.
USBKeyboard
          USB keyboard.
 
Method Summary
static KeyboardHidType fromValue(long v)
           
static KeyboardHidType fromValue(java.lang.String v)
           
 int value()
           
static KeyboardHidType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static KeyboardHidType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

None

public static final KeyboardHidType None
No keyboard.


PS2Keyboard

public static final KeyboardHidType PS2Keyboard
PS/2 keyboard.


USBKeyboard

public static final KeyboardHidType USBKeyboard
USB keyboard.


ComboKeyboard

public static final KeyboardHidType ComboKeyboard
Combined device, working as PS/2 or USB keyboard, depending on guest behavior. Using of such device can have negative performance implications.

Method Detail

values

public static KeyboardHidType[] 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 (KeyboardHidType c : KeyboardHidType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static KeyboardHidType 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 name
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static KeyboardHidType fromValue(long v)

fromValue

public static KeyboardHidType fromValue(java.lang.String v)