public static enum MenuItem.MenuType extends java.lang.Enum<MenuItem.MenuType>
Enum Constant and Description |
---|
PROJECT |
PROJECT_CONFIG |
SYSTEM_CONFIG |
USER_MENU |
Modifier and Type | Method and Description |
---|---|
boolean |
isProjectType() |
static MenuItem.MenuType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MenuItem.MenuType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MenuItem.MenuType PROJECT
public static final MenuItem.MenuType PROJECT_CONFIG
public static final MenuItem.MenuType SYSTEM_CONFIG
public static final MenuItem.MenuType USER_MENU
public static MenuItem.MenuType[] values()
for (MenuItem.MenuType c : MenuItem.MenuType.values()) System.out.println(c);
public static MenuItem.MenuType 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 boolean isProjectType()