org.virtualbox_6_1
Enum MouseButtonState

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

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

Mouse button state. Interface ID: {9EE094B8-B28A-4D56-A166-973CB588D7F8}


Enum Constant Summary
LeftButton
           
MiddleButton
           
MouseStateMask
           
RightButton
           
WheelDown
           
WheelUp
           
XButton1
           
XButton2
           
 
Method Summary
static MouseButtonState fromValue(long v)
           
static MouseButtonState fromValue(java.lang.String v)
           
 int value()
           
static MouseButtonState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MouseButtonState[] 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

LeftButton

public static final MouseButtonState LeftButton

RightButton

public static final MouseButtonState RightButton

MiddleButton

public static final MouseButtonState MiddleButton

WheelUp

public static final MouseButtonState WheelUp

WheelDown

public static final MouseButtonState WheelDown

XButton1

public static final MouseButtonState XButton1

XButton2

public static final MouseButtonState XButton2

MouseStateMask

public static final MouseButtonState MouseStateMask
Method Detail

values

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

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

valueOf

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

fromValue

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