org.bibalex.daf.managers.admin
Enum ReasonGUI.UIStates
java.lang.Object
java.lang.Enum<ReasonGUI.UIStates>
org.bibalex.daf.managers.admin.ReasonGUI.UIStates
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ReasonGUI.UIStates>
- Enclosing class:
- ReasonGUI
private static enum ReasonGUI.UIStates
- extends java.lang.Enum<ReasonGUI.UIStates>
UIStates is enum indicates to the state of the selected row (Add for new ,
Edit for update)
Method Summary |
static ReasonGUI.UIStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ReasonGUI.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 |
None
public static final ReasonGUI.UIStates None
Edit
public static final ReasonGUI.UIStates Edit
Add
public static final ReasonGUI.UIStates Add
values
public static final ReasonGUI.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(ReasonGUI.UIStates c : ReasonGUI.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 ReasonGUI.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