Package org.cef.callback
Enum CefContextMenuParams.MediaType
- java.lang.Object
-
- java.lang.Enum<CefContextMenuParams.MediaType>
-
- org.cef.callback.CefContextMenuParams.MediaType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CefContextMenuParams.MediaType>
- Enclosing interface:
- CefContextMenuParams
public static enum CefContextMenuParams.MediaType extends java.lang.Enum<CefContextMenuParams.MediaType>
Supported context menu media types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CM_MEDIATYPE_AUDIO
CM_MEDIATYPE_FILE
CM_MEDIATYPE_IMAGE
CM_MEDIATYPE_NONE
CM_MEDIATYPE_PLUGIN
CM_MEDIATYPE_VIDEO
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CefContextMenuParams.MediaType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CefContextMenuParams.MediaType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CM_MEDIATYPE_NONE
public static final CefContextMenuParams.MediaType CM_MEDIATYPE_NONE
-
CM_MEDIATYPE_IMAGE
public static final CefContextMenuParams.MediaType CM_MEDIATYPE_IMAGE
-
CM_MEDIATYPE_VIDEO
public static final CefContextMenuParams.MediaType CM_MEDIATYPE_VIDEO
-
CM_MEDIATYPE_AUDIO
public static final CefContextMenuParams.MediaType CM_MEDIATYPE_AUDIO
-
CM_MEDIATYPE_FILE
public static final CefContextMenuParams.MediaType CM_MEDIATYPE_FILE
-
CM_MEDIATYPE_PLUGIN
public static final CefContextMenuParams.MediaType CM_MEDIATYPE_PLUGIN
-
-
Method Detail
-
values
public static CefContextMenuParams.MediaType[] 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 (CefContextMenuParams.MediaType c : CefContextMenuParams.MediaType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CefContextMenuParams.MediaType 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
-
-