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
The internationalization properties for
AvatarGroup.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the translated word foranonymous.setAnonymous(String anonymous) Sets the translated word foranonymous.
-
Constructor Details
-
AvatarI18n
public AvatarI18n()
-
-
Method Details
-
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
Sets the translated word foranonymous.- Parameters:
anonymous- the translated word for anonymous, notnull- Returns:
- this instance for method chaining
-