com.silverpeas.personalization
Enum UserMenuDisplay
java.lang.Object
java.lang.Enum<UserMenuDisplay>
com.silverpeas.personalization.UserMenuDisplay
- All Implemented Interfaces:
- Serializable, Comparable<UserMenuDisplay>
public enum UserMenuDisplay
- extends Enum<UserMenuDisplay>
User: ehugonnet Date: 21/03/11 Time: 16:59
Enum Constant Summary |
ALL
|
BOOKMARKS
|
DEFAULT
|
DISABLE
ALL : display both tabs bookmarks and the full menu and the default is the full menu tab. |
DISABLE
public static final UserMenuDisplay DISABLE
- ALL : display both tabs bookmarks and the full menu and the default is the full menu tab.
BOOKMARKS : display both tabs bookmarks and the full menu and the default is the bookmarks menu
tab. DISABLE : no bookmarks menu tab is displayed. DEFAULT : use the look display.
DEFAULT
public static final UserMenuDisplay DEFAULT
BOOKMARKS
public static final UserMenuDisplay BOOKMARKS
ALL
public static final UserMenuDisplay ALL
values
public static UserMenuDisplay[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (UserMenuDisplay c : UserMenuDisplay.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static UserMenuDisplay valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
isNotDefault
public boolean isNotDefault()
Copyright © 2016 Silverpeas. All Rights Reserved.