org.virtualbox_7_0
Enum MouseButtonState
java.lang.Object
java.lang.Enum<MouseButtonState>
org.virtualbox_7_0.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}
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 |
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
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)