Package com.vaadin.flow.component.login
Class LoginI18n.ErrorMessage
java.lang.Object
com.vaadin.flow.component.login.LoginI18n.ErrorMessage
- All Implemented Interfaces:
Serializable
- Enclosing class:
- LoginI18n
I18n properties for the error message.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTitle()voidsetMessage(String message) voidsetPassword(String password) Sets the error message for the password fieldvoidvoidsetUsername(String username) Sets the error message for the username field
-
Constructor Details
-
ErrorMessage
public ErrorMessage()
-
-
Method Details
-
getTitle
- Returns:
- current value for the title property
-
setTitle
- Parameters:
title- new value for the title property.
-
getMessage
- Returns:
- current value for the message property
-
setMessage
- Parameters:
message- new value for the message property.
-
getUsername
- Returns:
- current value for the username property
-
setUsername
Sets the error message for the username field- Parameters:
username- new value for the username property
-
getPassword
- Returns:
- current value for the password property
-
setPassword
Sets the error message for the password field- Parameters:
password- new value for the password property
-