|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<Validity>
Validity
public enum Validity
Summary validity codes in a KeyBinding
status.
Enum Constant Summary | |
---|---|
INDETERMINATE
The status of the key binding cannot be determined. |
|
INVALID
The key binding is definitively invalid. |
|
VALID
The key binding is definitively valid. |
Method Summary | |
---|---|
String |
toString()
Returns the String representation of this enum constant, including the namespace. |
static Validity |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Validity[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Validity VALID
public static final Validity INDETERMINATE
public static final Validity INVALID
Method Detail |
---|
public static Validity[] values()
for (Validity c : Validity.values()) System.out.println(c);
public static Validity valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Validity>
String
representation including the namespace.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |