public enum ViewMode extends Enum<ViewMode>
| Enum Constant and Description |
|---|
COMPONENT
The COMPONENT and ENTIRE_APPLICATION scopes can be chosen.
|
GLOBAL
No scope is shown.
|
USER
The USER and ALL_USERS scopes can be chosen.
|
USER_COMPONENT
THE USER, ALL_USERS, COMPONENT and ENTIRE_APPLICATION scopes can be chosen.
|
| Modifier and Type | Method and Description |
|---|---|
static ViewMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ViewMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewMode GLOBAL
public static final ViewMode USER
public static final ViewMode COMPONENT
public static final ViewMode USER_COMPONENT
public static ViewMode[] values()
for (ViewMode c : ViewMode.values()) System.out.println(c);
public static ViewMode 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 © 2012–2016 JBoss by Red Hat. All rights reserved.