public enum ColorChannel extends Enum<ColorChannel>
Modifier and Type | Method and Description |
---|---|
static ColorChannel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorChannel R
public static final ColorChannel G
public static final ColorChannel B
public static final ColorChannel A
public static ColorChannel[] values()
for (ColorChannel c : ColorChannel.values()) System.out.println(c);
public static ColorChannel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null