org.bibalex.daf.managers.admin
Enum CollectionsManagerGUI.UIStates

java.lang.Object
  extended by java.lang.Enum<CollectionsManagerGUI.UIStates>
      extended by org.bibalex.daf.managers.admin.CollectionsManagerGUI.UIStates
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CollectionsManagerGUI.UIStates>
Enclosing class:
CollectionsManagerGUI

private static enum CollectionsManagerGUI.UIStates
extends java.lang.Enum<CollectionsManagerGUI.UIStates>

Enumerates the different states the UI can occupy


Enum Constant Summary
Add
          Add (or Create new) Mode.
Edit
          Edit Mode.
None
          Not defined.
 
Method Summary
static CollectionsManagerGUI.UIStates valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CollectionsManagerGUI.UIStates[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

None

public static final CollectionsManagerGUI.UIStates None
Not defined.


Edit

public static final CollectionsManagerGUI.UIStates Edit
Edit Mode.


Add

public static final CollectionsManagerGUI.UIStates Add
Add (or Create new) Mode.

Method Detail

values

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

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

valueOf

public static CollectionsManagerGUI.UIStates 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