Package org.webswing.server.model.proto
Enum Webswing.FocusEventMsgProto.FocusEventTypeProto
- java.lang.Object
-
- java.lang.Enum<Webswing.FocusEventMsgProto.FocusEventTypeProto>
-
- org.webswing.server.model.proto.Webswing.FocusEventMsgProto.FocusEventTypeProto
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Webswing.FocusEventMsgProto.FocusEventTypeProto>
- Enclosing class:
- Webswing.FocusEventMsgProto
public static enum Webswing.FocusEventMsgProto.FocusEventTypeProto extends Enum<Webswing.FocusEventMsgProto.FocusEventTypeProto> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumorg.webswing.server.model.proto.FocusEventMsgProto.FocusEventTypeProto
-
-
Enum Constant Summary
Enum Constants Enum Constant Description focusGainedfocusGained = 2;focusLostfocusLost = 1;focusPasswordGainedfocusPasswordGained = 4;focusWithCarretGainedfocusWithCarretGained = 3;
-
Field Summary
Fields Modifier and Type Field Description static intfocusGained_VALUEfocusGained = 2;static intfocusLost_VALUEfocusLost = 1;static intfocusPasswordGained_VALUEfocusPasswordGained = 4;static intfocusWithCarretGained_VALUEfocusWithCarretGained = 3;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Webswing.FocusEventMsgProto.FocusEventTypeProtoforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Webswing.FocusEventMsgProto.FocusEventTypeProto>internalGetValueMap()static Webswing.FocusEventMsgProto.FocusEventTypeProtovalueOf(int value)Deprecated.static Webswing.FocusEventMsgProto.FocusEventTypeProtovalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Webswing.FocusEventMsgProto.FocusEventTypeProtovalueOf(String name)Returns the enum constant of this type with the specified name.static Webswing.FocusEventMsgProto.FocusEventTypeProto[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
focusLost
public static final Webswing.FocusEventMsgProto.FocusEventTypeProto focusLost
focusLost = 1;
-
focusGained
public static final Webswing.FocusEventMsgProto.FocusEventTypeProto focusGained
focusGained = 2;
-
focusWithCarretGained
public static final Webswing.FocusEventMsgProto.FocusEventTypeProto focusWithCarretGained
focusWithCarretGained = 3;
-
focusPasswordGained
public static final Webswing.FocusEventMsgProto.FocusEventTypeProto focusPasswordGained
focusPasswordGained = 4;
-
-
Field Detail
-
focusLost_VALUE
public static final int focusLost_VALUE
focusLost = 1;- See Also:
- Constant Field Values
-
focusGained_VALUE
public static final int focusGained_VALUE
focusGained = 2;- See Also:
- Constant Field Values
-
focusWithCarretGained_VALUE
public static final int focusWithCarretGained_VALUE
focusWithCarretGained = 3;- See Also:
- Constant Field Values
-
focusPasswordGained_VALUE
public static final int focusPasswordGained_VALUE
focusPasswordGained = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Webswing.FocusEventMsgProto.FocusEventTypeProto[] 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 (Webswing.FocusEventMsgProto.FocusEventTypeProto c : Webswing.FocusEventMsgProto.FocusEventTypeProto.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Webswing.FocusEventMsgProto.FocusEventTypeProto valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Webswing.FocusEventMsgProto.FocusEventTypeProto valueOf(int value)
Deprecated.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:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static Webswing.FocusEventMsgProto.FocusEventTypeProto forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Webswing.FocusEventMsgProto.FocusEventTypeProto> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Webswing.FocusEventMsgProto.FocusEventTypeProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-