You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.avatar.

Class Avatar.AvatarI18n

    • Constructor Detail

      • AvatarI18n

        public AvatarI18n()
    • Method Detail

      • getAnonymous

        public String getAnonymous()

        Gets the translated word for anonymous. 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 for anonymous.

        Parameters:

        anonymous - the translated word for anonymous, not null

        Returns:

        this instance for method chaining