public static enum Menu.MENU_TYPE extends Enum<Menu.MENU_TYPE>
| Enum Constant and Description |
|---|
EDITMENU
The Edit menu
|
FILEMENU
The File menu
|
HELPMENU
The Help menu
|
USERMENU
The User menu
|
VIEWMENU
The View menu
|
WINDOWMENU
The Window menu
|
| Modifier and Type | Method and Description |
|---|---|
static Menu.MENU_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Menu.MENU_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Menu.MENU_TYPE FILEMENU
public static final Menu.MENU_TYPE EDITMENU
public static final Menu.MENU_TYPE VIEWMENU
public static final Menu.MENU_TYPE WINDOWMENU
public static final Menu.MENU_TYPE HELPMENU
public static final Menu.MENU_TYPE USERMENU
public static Menu.MENU_TYPE[] values()
for (Menu.MENU_TYPE c : Menu.MENU_TYPE.values()) System.out.println(c);
public static Menu.MENU_TYPE 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 nullCopyright © 2006–2020 Esito AS. All rights reserved.