Package org.primefaces.component.avatar
Enum AvatarBase.PropertyKeys
- java.lang.Object
-
- java.lang.Enum<AvatarBase.PropertyKeys>
-
- org.primefaces.component.avatar.AvatarBase.PropertyKeys
-
- All Implemented Interfaces:
Serializable,Comparable<AvatarBase.PropertyKeys>
- Enclosing class:
- AvatarBase
public static enum AvatarBase.PropertyKeys extends Enum<AvatarBase.PropertyKeys>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description dynamicColorgravatargravatarConfigiconlabelshapesizestylestyleClass
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AvatarBase.PropertyKeysvalueOf(String name)Returns the enum constant of this type with the specified name.static AvatarBase.PropertyKeys[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
label
public static final AvatarBase.PropertyKeys label
-
icon
public static final AvatarBase.PropertyKeys icon
-
size
public static final AvatarBase.PropertyKeys size
-
shape
public static final AvatarBase.PropertyKeys shape
-
dynamicColor
public static final AvatarBase.PropertyKeys dynamicColor
-
style
public static final AvatarBase.PropertyKeys style
-
styleClass
public static final AvatarBase.PropertyKeys styleClass
-
gravatar
public static final AvatarBase.PropertyKeys gravatar
-
gravatarConfig
public static final AvatarBase.PropertyKeys gravatarConfig
-
-
Method Detail
-
values
public static AvatarBase.PropertyKeys[] 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 (AvatarBase.PropertyKeys c : AvatarBase.PropertyKeys.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AvatarBase.PropertyKeys 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
-
-