com.vaadin.flow.component.login.
Class LoginI18n
- java.lang.Object
-
- com.vaadin.flow.component.login.LoginI18n
-
All Implemented Interfaces:
public class LoginI18n extends Object implements Serializable
Internationalization object for customizing the component UI texts. An instance with the default messages can be obtained using
createDefault()
See Also:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
LoginI18n.ErrorMessage
I18n properties for the error message.
static class
LoginI18n.Form
I18n properties for the form.
static class
LoginI18n.Header
I18n properties for the header.
-
Constructor Summary
Constructors Constructor and Description LoginI18n()
-
Method Summary
All Methods Modifier and Type Method and Description static LoginI18n
createDefault()
String
getAdditionalInformation()
LoginI18n.ErrorMessage
getErrorMessage()
LoginI18n.Form
getForm()
LoginI18n.Header
getHeader()
void
setAdditionalInformation(String additionalInformation)
void
setErrorMessage(LoginI18n.ErrorMessage errorMessage)
void
setForm(LoginI18n.Form form)
void
setHeader(LoginI18n.Header header)
-
-
-
Method Detail
-
createDefault
public static LoginI18n createDefault()
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.
-
-