public enum RasterBand extends Enum<RasterBand> implements Enumeration
Raster dataset.  Each band can be thought of as a set of values,
which are most commonly associated with colors when the raster represents an image.  For instance,
a typical color image contains three sets of values, or bands (red, green, and blue) which define the color of pixels within the image.RasterAttributes, 
Rasters and Filtering topic| Enum Constant and Description | 
|---|
ALPHA
A band containing alpha values. 
 | 
BLUE
A band containing blue values. 
 | 
GREEN
A band containing green values. 
 | 
LUMINANCE
A band containing luminance values. 
 | 
RED
A band containing red values. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static RasterBand | 
getDefault()
Get the enum constant that is considered to be the default. 
 | 
static RasterBand | 
getFromValue(int value)
Get the enum constant that is associated with the given numeric value. 
 | 
int | 
getValue()
Get the numeric value associated with this enum constant. 
 | 
static RasterBand | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static RasterBand[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final RasterBand RED
public static final RasterBand GREEN
public static final RasterBand BLUE
public static final RasterBand ALPHA
public static final RasterBand LUMINANCE
public static RasterBand[] values()
for (RasterBand c : RasterBand.values()) System.out.println(c);
public static RasterBand 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 nullpublic int getValue()
getValue in interface Enumeration@Nonnull public static RasterBand getFromValue(int value)
value - a numeric value.@Nonnull public static RasterBand getDefault()