public static enum GrayScale.ColorChannel extends Enum<GrayScale.ColorChannel>
| Modifier and Type | Method and Description |
|---|---|
static GrayScale.ColorChannel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrayScale.ColorChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrayScale.ColorChannel Red
public static final GrayScale.ColorChannel Green
public static final GrayScale.ColorChannel Blue
public static GrayScale.ColorChannel[] values()
for (GrayScale.ColorChannel c : GrayScale.ColorChannel.values()) System.out.println(c);
public static GrayScale.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 nullCopyright © 2015 Universal Java Matrix Package. All rights reserved.