Package com.vaadin.flow.component.login
Class LoginI18n
java.lang.Object
com.vaadin.flow.component.login.LoginI18n
- All Implemented Interfaces:
Serializable
Internationalization object for customizing the component UI texts. An
instance with the default messages can be obtained using
createDefault()-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classI18n properties for the error message.static classI18n properties for the form.static classI18n properties for the header. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LoginI18ngetForm()voidsetAdditionalInformation(String additionalInformation) voidsetErrorMessage(LoginI18n.ErrorMessage errorMessage) voidsetForm(LoginI18n.Form form) voidsetHeader(LoginI18n.Header header)
-
Constructor Details
-
LoginI18n
public LoginI18n()
-
-
Method Details
-
createDefault
- Returns:
- a new instance with the default messages
-
getHeader
- Returns:
LoginI18n.Headerobject.
-
setHeader
- Parameters:
header-LoginI18n.Headerobject.
-
getForm
- Returns:
LoginI18n.Formobject.
-
setForm
- Parameters:
form-LoginI18n.Formobject.
-
getErrorMessage
- Returns:
LoginI18n.ErrorMessageobject.
-
setErrorMessage
- Parameters:
errorMessage-LoginI18n.ErrorMessageobject.
-
getAdditionalInformation
- Returns:
- current value for the additional information property
-
setAdditionalInformation
- Parameters:
additionalInformation- new value for the additional information property.
-