org.virtualbox_4_3
Enum GuestMouseEventMode

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

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

The mode (relative, absolute, multi-touch) of a pointer event. TODO: a clear pattern seems to be emerging that we should usually have multiple input devices active for different types of reporting, so we should really have different event types for relative (including wheel), absolute (not including wheel) and multi-touch events. Interface ID: {4B500146-EBBA-4B7C-BC29-69C2D57A5CAF}


Enum Constant Summary
Absolute
          Absolute event.
Relative
          Relative event.
 
Method Summary
static GuestMouseEventMode fromValue(long v)
           
static GuestMouseEventMode fromValue(java.lang.String v)
           
 int value()
           
static GuestMouseEventMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GuestMouseEventMode[] 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

Relative

public static final GuestMouseEventMode Relative
Relative event.


Absolute

public static final GuestMouseEventMode Absolute
Absolute event.

Method Detail

values

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

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

valueOf

public static GuestMouseEventMode 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 GuestMouseEventMode fromValue(long v)

fromValue

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