public enum ContextMenuContext extends java.lang.Enum<ContextMenuContext>
Enum Constant and Description |
---|
ANCHOR |
CONTROL |
DEFAULT |
HSCROLL |
IMAGE |
MEDIA |
TABLE |
TEXTSELECT |
UNKNOWN |
VSCROLL |
Modifier and Type | Method and Description |
---|---|
static ContextMenuContext |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContextMenuContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContextMenuContext DEFAULT
public static final ContextMenuContext IMAGE
public static final ContextMenuContext CONTROL
public static final ContextMenuContext TABLE
public static final ContextMenuContext TEXTSELECT
public static final ContextMenuContext ANCHOR
public static final ContextMenuContext UNKNOWN
public static final ContextMenuContext VSCROLL
public static final ContextMenuContext HSCROLL
public static final ContextMenuContext MEDIA
public static ContextMenuContext[] values()
for (ContextMenuContext c : ContextMenuContext.values()) System.out.println(c);
public static ContextMenuContext 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 null