Spiffy UI Framework

org.spiffyui.client.login
Enum LoginStrings

java.lang.Object
  extended by java.lang.Enum<LoginStrings>
      extended by org.spiffyui.client.login.LoginStrings
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LoginStrings>

public enum LoginStrings
extends java.lang.Enum<LoginStrings>

The Strings used by the login dialog


Enum Constant Summary
INVALID_TS_URL
          An error message indicating an invalid token server URL format
INVALID_USERNAME_PASSWORD
          An error message indicating the very common error of an invalid username and password combination
LOGIN
          This is the login title
LOGIN_TITLE
          This is the title of the login panel
LOGOUT
          The text of the logout button
MULTIPLE_ACCOUNTS
          An error message indicating there was more than one user with the specified username and the username resolution was ambiguous
NO_PRIVILEGE
          This is an error string indicating the username and password were valid, but that user didn't have access to the application.
NOT_FOUND_TS_URL
          An error message indicating the token server could not be found
PASSWORD
          The label for the password field
PRODUCT_NAME
          The product name is used for the title of the login panel
RENEW
          This string is used for the renew token dialog
REPEAT_LOGIN
          This string indicates that this is a repeat log or token renew
REPEAT_LOGIN_TWO
          This string is used for a token renew when the username is unknown.
USERNAME
          The label for the username field
 
Method Summary
static LoginStrings valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LoginStrings[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NO_PRIVILEGE

public static final LoginStrings NO_PRIVILEGE
This is an error string indicating the username and password were valid, but that user didn't have access to the application.


RENEW

public static final LoginStrings RENEW
This string is used for the renew token dialog


REPEAT_LOGIN

public static final LoginStrings REPEAT_LOGIN
This string indicates that this is a repeat log or token renew


REPEAT_LOGIN_TWO

public static final LoginStrings REPEAT_LOGIN_TWO
This string is used for a token renew when the username is unknown.


LOGIN

public static final LoginStrings LOGIN
This is the login title


LOGIN_TITLE

public static final LoginStrings LOGIN_TITLE
This is the title of the login panel


PRODUCT_NAME

public static final LoginStrings PRODUCT_NAME
The product name is used for the title of the login panel


USERNAME

public static final LoginStrings USERNAME
The label for the username field


PASSWORD

public static final LoginStrings PASSWORD
The label for the password field


LOGOUT

public static final LoginStrings LOGOUT
The text of the logout button


INVALID_TS_URL

public static final LoginStrings INVALID_TS_URL
An error message indicating an invalid token server URL format


NOT_FOUND_TS_URL

public static final LoginStrings NOT_FOUND_TS_URL
An error message indicating the token server could not be found


MULTIPLE_ACCOUNTS

public static final LoginStrings MULTIPLE_ACCOUNTS
An error message indicating there was more than one user with the specified username and the username resolution was ambiguous


INVALID_USERNAME_PASSWORD

public static final LoginStrings INVALID_USERNAME_PASSWORD
An error message indicating the very common error of an invalid username and password combination

Method Detail

values

public static LoginStrings[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (LoginStrings c : LoginStrings.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LoginStrings valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Spiffy UI Framework