Class LoginI18n

java.lang.Object
com.vaadin.flow.component.login.LoginI18n
All Implemented Interfaces:
Serializable

public class LoginI18n extends Object implements Serializable
Internationalization object for customizing the component UI texts. Set only the properties to customize; unset properties fall back to the component's default texts.
Since:
1.0
See Also:
  • Constructor Details

    • LoginI18n

      public LoginI18n()
  • Method Details

    • createDefault

      @Deprecated(since="25.3", forRemoval=true) public static LoginI18n createDefault()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create a new instance and set only the properties to customize. Unset properties fall back to the component's default texts.
      Creates a new instance with the default messages.
      Returns:
      a new instance with the default messages
    • getHeader

      public LoginI18n.Header getHeader()
      Returns:
      LoginI18n.Header object.
    • setHeader

      public void setHeader(LoginI18n.Header header)
      Parameters:
      header - LoginI18n.Header object.
    • getForm

      public LoginI18n.Form getForm()
      Returns:
      LoginI18n.Form object.
    • setForm

      public void setForm(LoginI18n.Form form)
      Parameters:
      form - LoginI18n.Form object.
    • getErrorMessage

      public LoginI18n.ErrorMessage getErrorMessage()
      Returns:
      LoginI18n.ErrorMessage object.
    • setErrorMessage

      public void setErrorMessage(LoginI18n.ErrorMessage errorMessage)
      Parameters:
      errorMessage - LoginI18n.ErrorMessage object.
    • getAdditionalInformation

      public String getAdditionalInformation()
      Returns:
      current value for the additional information property
    • setAdditionalInformation

      public void setAdditionalInformation(String additionalInformation)
      Parameters:
      additionalInformation - new value for the additional information property.