public enum MenuType extends Enum<MenuType>
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
static MenuType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MenuType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MenuType MAIN_MENU
public static final MenuType SUBMENU
public static final MenuType FUNCTION
public static MenuType[] values()
for (MenuType c : MenuType.values()) System.out.println(c);
public static MenuType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getType()
Copyright © 2025 CERN European Organization for Nuclear Research. All rights reserved.