public enum ContextMenuItemType extends java.lang.Enum<ContextMenuItemType>
Protobuf enum teamdev.browsercore.menu.ContextMenuItemType
Enum Constant and Description |
---|
CHECKABLE_ITEM
The context menu item is a checkable item.
|
GROUP
The context menu item is a sub-menu with items.
|
ITEM
The context menu item is a simple item.
|
SEPARATOR
The context menu item is a separator.
|
SUB_MENU
The context menu item is a sub-menu with items.
|
TYPE_UNSPECIFIED
Reserved value.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CHECKABLE_ITEM_VALUE
The context menu item is a checkable item.
|
static int |
GROUP_VALUE
The context menu item is a sub-menu with items.
|
static int |
ITEM_VALUE
The context menu item is a simple item.
|
static int |
SEPARATOR_VALUE
The context menu item is a separator.
|
static int |
SUB_MENU_VALUE
The context menu item is a sub-menu with items.
|
static int |
TYPE_UNSPECIFIED_VALUE
Reserved value.
|
Modifier and Type | Method and Description |
---|---|
static ContextMenuItemType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static <any> |
internalGetValueMap() |
static ContextMenuItemType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ContextMenuItemType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ContextMenuItemType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContextMenuItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContextMenuItemType TYPE_UNSPECIFIED
public static final ContextMenuItemType ITEM
public static final ContextMenuItemType CHECKABLE_ITEM
public static final ContextMenuItemType GROUP
public static final ContextMenuItemType SEPARATOR
public static final ContextMenuItemType SUB_MENU
public static final ContextMenuItemType UNRECOGNIZED
public static final int TYPE_UNSPECIFIED_VALUE
public static final int ITEM_VALUE
public static final int CHECKABLE_ITEM_VALUE
public static final int GROUP_VALUE
public static final int SEPARATOR_VALUE
public static final int SUB_MENU_VALUE
public static ContextMenuItemType[] values()
for (ContextMenuItemType c : ContextMenuItemType.values()) System.out.println(c);
public static ContextMenuItemType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
@Deprecated public static ContextMenuItemType valueOf(int value)
forNumber(int)
instead.public static ContextMenuItemType forNumber(int value)
public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ContextMenuItemType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)