Package com.aripd.component.letteravatar
Enum LetterAvatar.PropertyKeys
- java.lang.Object
-
- java.lang.Enum<LetterAvatar.PropertyKeys>
-
- com.aripd.component.letteravatar.LetterAvatar.PropertyKeys
-
- All Implemented Interfaces:
Serializable
,Comparable<LetterAvatar.PropertyKeys>
- Enclosing class:
- LetterAvatar
protected static enum LetterAvatar.PropertyKeys extends Enum<LetterAvatar.PropertyKeys>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALPHA
BACKGROUND_COLOR
FONT_COLOR
HUE
LIGHTNESS
ROUNDED
SATURATION
SIZE
STYLE
STYLE_CLASS
VALUE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LetterAvatar.PropertyKeys
valueOf(String name)
Returns the enum constant of this type with the specified name.static LetterAvatar.PropertyKeys[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STYLE
public static final LetterAvatar.PropertyKeys STYLE
-
STYLE_CLASS
public static final LetterAvatar.PropertyKeys STYLE_CLASS
-
VALUE
public static final LetterAvatar.PropertyKeys VALUE
-
ROUNDED
public static final LetterAvatar.PropertyKeys ROUNDED
-
SIZE
public static final LetterAvatar.PropertyKeys SIZE
-
FONT_COLOR
public static final LetterAvatar.PropertyKeys FONT_COLOR
-
BACKGROUND_COLOR
public static final LetterAvatar.PropertyKeys BACKGROUND_COLOR
-
HUE
public static final LetterAvatar.PropertyKeys HUE
-
SATURATION
public static final LetterAvatar.PropertyKeys SATURATION
-
LIGHTNESS
public static final LetterAvatar.PropertyKeys LIGHTNESS
-
ALPHA
public static final LetterAvatar.PropertyKeys ALPHA
-
-
Method Detail
-
values
public static LetterAvatar.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 (LetterAvatar.PropertyKeys c : LetterAvatar.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 LetterAvatar.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
-
-