Package org.webswing.server.model.proto
Enum Webswing.WindowEventMsgInProto.WindowEventTypeProto
- java.lang.Object
-
- java.lang.Enum<Webswing.WindowEventMsgInProto.WindowEventTypeProto>
-
- org.webswing.server.model.proto.Webswing.WindowEventMsgInProto.WindowEventTypeProto
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Webswing.WindowEventMsgInProto.WindowEventTypeProto>
- Enclosing class:
- Webswing.WindowEventMsgInProto
public static enum Webswing.WindowEventMsgInProto.WindowEventTypeProto extends Enum<Webswing.WindowEventMsgInProto.WindowEventTypeProto> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumorg.webswing.server.model.proto.WindowEventMsgInProto.WindowEventTypeProto
-
-
Field Summary
Fields Modifier and Type Field Description static intclose_VALUEclose = 0;static intdecorate_VALUEdecorate = 4;static intdock_VALUEdock = 6;static intfocus_VALUEfocus = 1;static intmaximize_VALUEmaximize = 2;static intundecorate_VALUEundecorate = 3;static intundock_VALUEundock = 5;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Webswing.WindowEventMsgInProto.WindowEventTypeProtoforNumber(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.WindowEventMsgInProto.WindowEventTypeProto>internalGetValueMap()static Webswing.WindowEventMsgInProto.WindowEventTypeProtovalueOf(int value)Deprecated.static Webswing.WindowEventMsgInProto.WindowEventTypeProtovalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Webswing.WindowEventMsgInProto.WindowEventTypeProtovalueOf(String name)Returns the enum constant of this type with the specified name.static Webswing.WindowEventMsgInProto.WindowEventTypeProto[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
close
public static final Webswing.WindowEventMsgInProto.WindowEventTypeProto close
close = 0;
-
focus
public static final Webswing.WindowEventMsgInProto.WindowEventTypeProto focus
focus = 1;
-
maximize
public static final Webswing.WindowEventMsgInProto.WindowEventTypeProto maximize
maximize = 2;
-
undecorate
public static final Webswing.WindowEventMsgInProto.WindowEventTypeProto undecorate
undecorate = 3;
-
decorate
public static final Webswing.WindowEventMsgInProto.WindowEventTypeProto decorate
decorate = 4;
-
undock
public static final Webswing.WindowEventMsgInProto.WindowEventTypeProto undock
undock = 5;
-
dock
public static final Webswing.WindowEventMsgInProto.WindowEventTypeProto dock
dock = 6;
-
-
Field Detail
-
close_VALUE
public static final int close_VALUE
close = 0;- See Also:
- Constant Field Values
-
focus_VALUE
public static final int focus_VALUE
focus = 1;- See Also:
- Constant Field Values
-
maximize_VALUE
public static final int maximize_VALUE
maximize = 2;- See Also:
- Constant Field Values
-
undecorate_VALUE
public static final int undecorate_VALUE
undecorate = 3;- See Also:
- Constant Field Values
-
decorate_VALUE
public static final int decorate_VALUE
decorate = 4;- See Also:
- Constant Field Values
-
undock_VALUE
public static final int undock_VALUE
undock = 5;- See Also:
- Constant Field Values
-
dock_VALUE
public static final int dock_VALUE
dock = 6;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Webswing.WindowEventMsgInProto.WindowEventTypeProto[] 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.WindowEventMsgInProto.WindowEventTypeProto c : Webswing.WindowEventMsgInProto.WindowEventTypeProto.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.WindowEventMsgInProto.WindowEventTypeProto 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.WindowEventMsgInProto.WindowEventTypeProto 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.WindowEventMsgInProto.WindowEventTypeProto forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Webswing.WindowEventMsgInProto.WindowEventTypeProto> 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.WindowEventMsgInProto.WindowEventTypeProto 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
-
-