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 class
I18n properties for the error message.static class
I18n properties for the form.static class
I18n properties for the header. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LoginI18n
getForm()
void
setAdditionalInformation
(String additionalInformation) void
setErrorMessage
(LoginI18n.ErrorMessage errorMessage) void
setForm
(LoginI18n.Form form) void
setHeader
(LoginI18n.Header header)
-
Constructor Details
-
LoginI18n
public LoginI18n()
-
-
Method Details
-
createDefault
- Returns:
- a new instance with the default messages
-
getHeader
- Returns:
LoginI18n.Header
object.
-
setHeader
- Parameters:
header
-LoginI18n.Header
object.
-
getForm
- Returns:
LoginI18n.Form
object.
-
setForm
- Parameters:
form
-LoginI18n.Form
object.
-
getErrorMessage
- Returns:
LoginI18n.ErrorMessage
object.
-
setErrorMessage
- Parameters:
errorMessage
-LoginI18n.ErrorMessage
object.
-
getAdditionalInformation
- Returns:
- current value for the additional information property
-
setAdditionalInformation
- Parameters:
additionalInformation
- new value for the additional information property.
-