public static enum SystemInputProtos.MouseInfo.MouseButton extends Enum<SystemInputProtos.MouseInfo.MouseButton> implements com.google.protobuf.ProtocolMessageEnum
| Modifier and Type | Field and Description |
|---|---|
static int |
LEFT_VALUE |
static int |
MIDDLE_VALUE |
static int |
RIGHT_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<SystemInputProtos.MouseInfo.MouseButton> |
internalGetValueMap() |
static SystemInputProtos.MouseInfo.MouseButton |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SystemInputProtos.MouseInfo.MouseButton |
valueOf(int value) |
static SystemInputProtos.MouseInfo.MouseButton |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemInputProtos.MouseInfo.MouseButton[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemInputProtos.MouseInfo.MouseButton LEFT
public static final SystemInputProtos.MouseInfo.MouseButton RIGHT
public static final SystemInputProtos.MouseInfo.MouseButton MIDDLE
public static final int LEFT_VALUE
public static final int RIGHT_VALUE
public static final int MIDDLE_VALUE
public static SystemInputProtos.MouseInfo.MouseButton[] values()
for (SystemInputProtos.MouseInfo.MouseButton c : SystemInputProtos.MouseInfo.MouseButton.values()) System.out.println(c);
public static SystemInputProtos.MouseInfo.MouseButton valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static SystemInputProtos.MouseInfo.MouseButton valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<SystemInputProtos.MouseInfo.MouseButton> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SystemInputProtos.MouseInfo.MouseButton valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013. All Rights Reserved.