org.virtualbox_6_0
Enum TouchContactState

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

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

Touch event contact state. Interface ID: {3F942686-2506-421C-927C-90D4B45F4A38}


Enum Constant Summary
ContactStateMask
           
InContact
          Whether the touch is really touching the device.
InRange
          Whether the touch is close enough to the device to be detected.
None
          The touch has finished.
 
Method Summary
static TouchContactState fromValue(long v)
           
static TouchContactState fromValue(java.lang.String v)
           
 int value()
           
static TouchContactState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TouchContactState[] 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 TouchContactState None
The touch has finished.


InContact

public static final TouchContactState InContact
Whether the touch is really touching the device.


InRange

public static final TouchContactState InRange
Whether the touch is close enough to the device to be detected.


ContactStateMask

public static final TouchContactState ContactStateMask
Method Detail

values

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

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

valueOf

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

fromValue

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