public enum MenuEntryNature extends java.lang.Enum<MenuEntryNature>
| Enum Constant and Description |
|---|
FLOATING_PAGE
This is an item that's not in a menu and is accessible directly through its URL.
|
GROUP
The menu entry is a group for other menu entries
|
ITEM
The menu entry is an item
|
| Modifier and Type | Method and Description |
|---|---|
static MenuEntryNature |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MenuEntryNature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MenuEntryNature GROUP
public static final MenuEntryNature ITEM
public static final MenuEntryNature FLOATING_PAGE
public static MenuEntryNature[] values()
for (MenuEntryNature c : MenuEntryNature.values()) System.out.println(c);
public static MenuEntryNature 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