com.silverpeas.personalization
Enum UserMenuDisplay

java.lang.Object
  extended by java.lang.Enum<UserMenuDisplay>
      extended by 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.
 
Method Summary
 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.
 
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

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 name
NullPointerException - if the argument is null

isNotDefault

public boolean isNotDefault()


Copyright © 2016 Silverpeas. All Rights Reserved.