public enum MenuItemRole extends Enum<MenuItemRole>
Enum Constant and Description |
---|
SUBMENU_HEADER
Header for a submenu.
|
SUBMENU_ITEM
Menu item in a submenu that can invoke commands.
|
TOP_LEVEL_HEADER
Header for top-level menus.
|
TOP_LEVEL_ITEM
Top-level menu item that can invoke commands.
|
Modifier and Type | Method and Description |
---|---|
static MenuItemRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MenuItemRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MenuItemRole TOP_LEVEL_ITEM
public static final MenuItemRole TOP_LEVEL_HEADER
public static final MenuItemRole SUBMENU_ITEM
public static final MenuItemRole SUBMENU_HEADER
public static MenuItemRole[] values()
for (MenuItemRole c : MenuItemRole.values()) System.out.println(c);
public static MenuItemRole 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 2009-2012 Micro Focus. All Rights Reserved.