Enum UserMenuDisplay
- java.lang.Object
-
- java.lang.Enum<UserMenuDisplay>
-
- org.silverpeas.core.personalization.UserMenuDisplay
-
- All Implemented Interfaces:
Serializable
,Comparable<UserMenuDisplay>
public enum UserMenuDisplay extends Enum<UserMenuDisplay>
User: ehugonnet Date: 21/03/11 Time: 16:59
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isNotDefault()
static UserMenuDisplay
valueOf(String name)
Returns the enum constant of this type with the specified name.static UserMenuDisplay[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
-
Method Detail
-
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 nameNullPointerException
- if the argument is null
-
isNotDefault
public boolean isNotDefault()
-
-