js.dev.cam
Enum IMAGE_TYPE
java.lang.Object
java.lang.Enum<IMAGE_TYPE>
js.dev.cam.IMAGE_TYPE
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<IMAGE_TYPE>
public enum IMAGE_TYPE
- extends java.lang.Enum<IMAGE_TYPE>
The IMAGE_TYPE enumerations.
- Author:
- soldan
Method Summary |
static IMAGE_TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IMAGE_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
LIGHT
public static final IMAGE_TYPE LIGHT
DARK
public static final IMAGE_TYPE DARK
values
public static IMAGE_TYPE[] 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 (IMAGE_TYPE c : IMAGE_TYPE.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static IMAGE_TYPE 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