public static enum WSubMenu.MenuMode extends Enum<WSubMenu.MenuMode>
Enum Constant and Description |
---|
CLIENT
Indicates that the sub-menu content is always sent to the client.
|
DYNAMIC
Indicates that an ajax request should be made whenever the menu is opened.
|
EAGER
Indicates that an ajax request should be made immediately after the page is loaded.
|
LAZY
Indicates that an ajax request should be made the first time the menu is opened.
|
SERVER
Deprecated.
Mapped to MenuMode.DYMANIC as per https://github.com/BorderTech/wcomponents/issues/687
|
Modifier and Type | Method and Description |
---|---|
static WSubMenu.MenuMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WSubMenu.MenuMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WSubMenu.MenuMode SERVER
public static final WSubMenu.MenuMode LAZY
public static final WSubMenu.MenuMode CLIENT
public static final WSubMenu.MenuMode DYNAMIC
public static final WSubMenu.MenuMode EAGER
public static WSubMenu.MenuMode[] values()
for (WSubMenu.MenuMode c : WSubMenu.MenuMode.values()) System.out.println(c);
public static WSubMenu.MenuMode 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 © 2021. All rights reserved.