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. Set only
the properties to customize; unset properties fall back to the component's
default texts.
- Since:
- 1.0
- See Also:
-
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 LoginI18nDeprecated, for removal: This API element is subject to removal in a future version.Create a new instance and set only the properties to customize.getForm()voidsetAdditionalInformation(String additionalInformation) voidsetErrorMessage(LoginI18n.ErrorMessage errorMessage) voidsetForm(LoginI18n.Form form) voidsetHeader(LoginI18n.Header header)
-
Constructor Details
-
LoginI18n
public LoginI18n()
-
-
Method Details
-
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
- 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.
-