public enum Band extends Enum<Band>
| Modifier and Type | Field and Description | 
|---|---|
| String | key | 
| static List<Band> | RGBA list of the bands representing Red, Green, Blue (in order). | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract SelectedChannelType | getFrom(ChannelSelection sel)Get the  SelectedChannelTypein sel that is represented by this band. | 
| abstract void | setTo(ChannelSelection sel,
     SelectedChannelType chan)Set the  SelectedChannelTypein sel that is represented by this band to chan. | 
| static Band | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Band[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Band GRAY
public static final Band RED
public static final Band GREEN
public static final Band BLUE
public static final List<Band> RGB
public final String key
public static Band[] values()
for (Band c : Band.values()) System.out.println(c);
public static Band 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 abstract SelectedChannelType getFrom(ChannelSelection sel)
SelectedChannelType in sel that is represented by this band.sel - public abstract void setTo(ChannelSelection sel, SelectedChannelType chan)
SelectedChannelType in sel that is represented by this band to chan.sel - chan - Copyright © 1996–2019 Geotools. All rights reserved.