public static enum Webswing.KeyboardEventMsgInProto.KeyEventTypeProto extends Enum<Webswing.KeyboardEventMsgInProto.KeyEventTypeProto> implements com.google.protobuf.ProtocolMessageEnum
org.webswing.server.model.proto.KeyboardEventMsgInProto.KeyEventTypeProto| Enum Constant and Description |
|---|
keydown
keydown = 1; |
keypress
keypress = 0; |
keyup
keyup = 2; |
| Modifier and Type | Field and Description |
|---|---|
static int |
keydown_VALUE
keydown = 1; |
static int |
keypress_VALUE
keypress = 0; |
static int |
keyup_VALUE
keyup = 2; |
| 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<Webswing.KeyboardEventMsgInProto.KeyEventTypeProto> |
internalGetValueMap() |
static Webswing.KeyboardEventMsgInProto.KeyEventTypeProto |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Webswing.KeyboardEventMsgInProto.KeyEventTypeProto |
valueOf(int value) |
static Webswing.KeyboardEventMsgInProto.KeyEventTypeProto |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Webswing.KeyboardEventMsgInProto.KeyEventTypeProto[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Webswing.KeyboardEventMsgInProto.KeyEventTypeProto keypress
keypress = 0;public static final Webswing.KeyboardEventMsgInProto.KeyEventTypeProto keydown
keydown = 1;public static final Webswing.KeyboardEventMsgInProto.KeyEventTypeProto keyup
keyup = 2;public static final int keypress_VALUE
keypress = 0;public static final int keydown_VALUE
keydown = 1;public static final int keyup_VALUE
keyup = 2;public static Webswing.KeyboardEventMsgInProto.KeyEventTypeProto[] values()
for (Webswing.KeyboardEventMsgInProto.KeyEventTypeProto c : Webswing.KeyboardEventMsgInProto.KeyEventTypeProto.values()) System.out.println(c);
public static Webswing.KeyboardEventMsgInProto.KeyEventTypeProto 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 Webswing.KeyboardEventMsgInProto.KeyEventTypeProto valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Webswing.KeyboardEventMsgInProto.KeyEventTypeProto> 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 Webswing.KeyboardEventMsgInProto.KeyEventTypeProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019. All rights reserved.