Package org.cef.callback
Enum CefMenuModel.MenuItemType
- java.lang.Object
-
- java.lang.Enum<CefMenuModel.MenuItemType>
-
- org.cef.callback.CefMenuModel.MenuItemType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CefMenuModel.MenuItemType>
- Enclosing interface:
- CefMenuModel
public static enum CefMenuModel.MenuItemType extends java.lang.Enum<CefMenuModel.MenuItemType>
Supported menu item types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MENUITEMTYPE_CHECK
MENUITEMTYPE_COMMAND
MENUITEMTYPE_NONE
MENUITEMTYPE_RADIO
MENUITEMTYPE_SEPARATOR
MENUITEMTYPE_SUBMENU
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CefMenuModel.MenuItemType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CefMenuModel.MenuItemType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MENUITEMTYPE_NONE
public static final CefMenuModel.MenuItemType MENUITEMTYPE_NONE
-
MENUITEMTYPE_COMMAND
public static final CefMenuModel.MenuItemType MENUITEMTYPE_COMMAND
-
MENUITEMTYPE_CHECK
public static final CefMenuModel.MenuItemType MENUITEMTYPE_CHECK
-
MENUITEMTYPE_RADIO
public static final CefMenuModel.MenuItemType MENUITEMTYPE_RADIO
-
MENUITEMTYPE_SEPARATOR
public static final CefMenuModel.MenuItemType MENUITEMTYPE_SEPARATOR
-
MENUITEMTYPE_SUBMENU
public static final CefMenuModel.MenuItemType MENUITEMTYPE_SUBMENU
-
-
Method Detail
-
values
public static CefMenuModel.MenuItemType[] 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 (CefMenuModel.MenuItemType c : CefMenuModel.MenuItemType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CefMenuModel.MenuItemType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-