|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<MenuItemAction.MenuType>
net.sf.basedb.clients.web.extensions.menu.MenuItemAction.MenuType
public static enum MenuItemAction.MenuType
| Enum Constant Summary | |
|---|---|
MENUITEM
This is a real menu item. |
|
SEPARATOR
This is a separator line. |
|
SUBMENU
A menu item that opens a submenu. |
|
| Method Summary | |
|---|---|
static MenuItemAction.MenuType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MenuItemAction.MenuType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MenuItemAction.MenuType MENUITEM
public static final MenuItemAction.MenuType SUBMENU
MenuItemAction.getSubmenuId().
A regular menu item can be placed inside a submenu by specifying the
same value for MenuItemAction.getMenuId().
public static final MenuItemAction.MenuType SEPARATOR
MenuItemAction.isVisible() and MenuItemAction.getStyle()
are ignored.
| Method Detail |
|---|
public static MenuItemAction.MenuType[] values()
for (MenuItemAction.MenuType c : MenuItemAction.MenuType.values()) System.out.println(c);
public static MenuItemAction.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 name
NullPointerException - if the argument is null
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||