com.webforj.component.login.LoginErrorI18n Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webforj-login Show documentation
Show all versions of webforj-login Show documentation
The Login component provides a form for user authentication using a username and password.
It's designed to work with password managers, supports internationalization, and is responsive across various device sizes.
The newest version!
package com.webforj.component.login;
/**
* The login dialog error translation object.
*
* @author Hyyan Abo Fakher
* @since 24.01
*/
public final class LoginErrorI18n {
private String title = "Incorrect username or password";
private String message =
"Check that you have entered the correct username and password and try again.";
/**
* Gets the error title.
*
* @return the error title
*/
public String getTitle() {
return title;
}
/**
* Sets the error title.
*
* @param title the error title
*/
public void setTitle(String title) {
this.title = title;
}
/**
* Gets the error message.
*
* @return the error message
*/
public String getMessage() {
return message;
}
/**
* Sets the error message.
*
* @param message the error message
*/
public void setMessage(String message) {
this.message = message;
}
}