Package org.bremersee.dccon.model
Enum AvatarDefault
- java.lang.Object
- 
- java.lang.Enum<AvatarDefault>
- 
- org.bremersee.dccon.model.AvatarDefault
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<AvatarDefault>
 
 public enum AvatarDefault extends Enum<AvatarDefault> The avatar default.- Author:
- Christian Bremer
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description BLANKA transparent PNG image (border added to HTML below for demonstration purposes).IDENTICONA geometric pattern based on an email hash.MONSTERIDA generated 'monster' with different colors, faces, etc.MPMystery-Person.NOT_FOUNDDo not load any image if none is associated with the email hash, instead return an HTTP 404 (File Not Found) response.RETROAwesome generated, 8-bit arcade-style pixelated faces.ROBOHASHA generated robot with different colors, faces, etc.WAVATARGenerated faces with differing features and backgrounds.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AvatarDefaultfromValue(String value, AvatarDefault defaultAvatarDefault)From value avatar default.StringtoString()static AvatarDefaultvalueOf(String name)Returns the enum constant of this type with the specified name.static AvatarDefault[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
NOT_FOUNDpublic static final AvatarDefault NOT_FOUND Do not load any image if none is associated with the email hash, instead return an HTTP 404 (File Not Found) response.
 - 
MPpublic static final AvatarDefault MP Mystery-Person. A simple, cartoon-style silhouetted outline of a person (does not vary by email hash).
 - 
IDENTICONpublic static final AvatarDefault IDENTICON A geometric pattern based on an email hash.
 - 
MONSTERIDpublic static final AvatarDefault MONSTERID A generated 'monster' with different colors, faces, etc.
 - 
WAVATARpublic static final AvatarDefault WAVATAR Generated faces with differing features and backgrounds.
 - 
RETROpublic static final AvatarDefault RETRO Awesome generated, 8-bit arcade-style pixelated faces.
 - 
ROBOHASHpublic static final AvatarDefault ROBOHASH A generated robot with different colors, faces, etc.
 - 
BLANKpublic static final AvatarDefault BLANK A transparent PNG image (border added to HTML below for demonstration purposes).
 
- 
 - 
Method Detail- 
valuespublic static AvatarDefault[] 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 (AvatarDefault c : AvatarDefault.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static AvatarDefault 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
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- Enum<AvatarDefault>
 
 - 
fromValuepublic static AvatarDefault fromValue(String value, AvatarDefault defaultAvatarDefault) From value avatar default.- Parameters:
- value- the value
- defaultAvatarDefault- the default avatar default
- Returns:
- the avatar default
 
 
- 
 
-