ehsbe CommonsTM
Version 1.1.0rc3

com.ehsbe.commons.gui
Enum JxLoginDialog.State

java.lang.Object
  extended by java.lang.Enum<JxLoginDialog.State>
      extended by com.ehsbe.commons.gui.JxLoginDialog.State
All Implemented Interfaces:
Serializable, Comparable<JxLoginDialog.State>
Enclosing class:
JxLoginDialog

public static enum JxLoginDialog.State
extends Enum<JxLoginDialog.State>

The states (progress) for this dialog.

Version:
$Revision: 450 $
Author:
Jens Elkner

Enum Constant Summary
CANCELED
          login canceled
FAILED
          login failed
IN_PROGRESS
          login is in progress
NOT_STARTED
          login has not yet been started
SUCCEEDED
          login succeeded
 
Method Summary
static JxLoginDialog.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JxLoginDialog.State[] 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

NOT_STARTED

public static final JxLoginDialog.State NOT_STARTED
login has not yet been started


IN_PROGRESS

public static final JxLoginDialog.State IN_PROGRESS
login is in progress


FAILED

public static final JxLoginDialog.State FAILED
login failed


CANCELED

public static final JxLoginDialog.State CANCELED
login canceled


SUCCEEDED

public static final JxLoginDialog.State SUCCEEDED
login succeeded

Method Detail

values

public static JxLoginDialog.State[] 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 (JxLoginDialog.State c : JxLoginDialog.State.values())
    System.out.println(c);

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

valueOf

public static JxLoginDialog.State valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

ehsbe CommonsTM
Version 1.1.0rc3

Copyright ©2005-2009 EHSBE, Walther-Rathenau-Str. 58, 39104 Magdeburg, Sachsen-Anhalt, Germany. All Rights Reserved.