Package com.vaadin.flow.component.avatar
Class Avatar.AvatarI18n
- java.lang.Object
-
- com.vaadin.flow.component.avatar.Avatar.AvatarI18n
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Avatar
public static class Avatar.AvatarI18n extends Object implements Serializable
The internationalization properties forAvatarGroup
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AvatarI18n()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAnonymous()
Gets the translated word foranonymous
.Avatar.AvatarI18n
setAnonymous(String anonymous)
Sets the translated word foranonymous
.
-
-
-
Method Detail
-
getAnonymous
public String getAnonymous()
Gets the translated word foranonymous
. It's displayed in a tooltip on hover if the name is not defined.- Returns:
- the translated word for anonymous. It will be
null
, If the translation wasn't set
-
setAnonymous
public Avatar.AvatarI18n setAnonymous(String anonymous)
Sets the translated word foranonymous
.- Parameters:
anonymous
- the translated word for anonymous, notnull
- Returns:
- this instance for method chaining
-
-