Package org.geotools.api.coverage
Class PaletteInterpretation
- Object
- 
- CodeList<PaletteInterpretation>
- 
- PaletteInterpretation
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<PaletteInterpretation>
 
 @UML(identifier="CV_PaletteInterpretation", specification=OGC_01004) public final class PaletteInterpretation extends CodeList<PaletteInterpretation> Describes the color entry in a color table.- Since:
- GeoAPI 1.0
- Author:
- Martin Desruisseaux (IRD)
- See Also:
- ColorInterpretation,- SampleDimension, Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static PaletteInterpretationCMYKCYMK (Cyan Yellow Magenta blacK) color palette.static PaletteInterpretationGRAYGray Scale color palette.static PaletteInterpretationHLSHSL (Hue Saturation Lightness) color palette.static PaletteInterpretationRGBRGB (Red Green Blue) color palette.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaletteInterpretation[]family()Returns the list of enumerations of the same kind than this enum.static PaletteInterpretationvalueOf(String code)Returns the palette interpretation that matches the given string, or returns a new one if none match it.static PaletteInterpretation[]values()Returns the list ofPaletteInterpretations.
 
- 
- 
- 
Field Detail- 
GRAY@UML(identifier="CV_Gray", obligation=CONDITIONAL, specification=OGC_01004) public static final PaletteInterpretation GRAY Gray Scale color palette.- See Also:
- ColorSpace.TYPE_GRAY
 
 - 
RGB@UML(identifier="CV_RGB", obligation=CONDITIONAL, specification=OGC_01004) public static final PaletteInterpretation RGB RGB (Red Green Blue) color palette.- See Also:
- ColorSpace.TYPE_RGB
 
 - 
CMYK@UML(identifier="CV_CMYK", obligation=CONDITIONAL, specification=OGC_01004) public static final PaletteInterpretation CMYK CYMK (Cyan Yellow Magenta blacK) color palette.- See Also:
- ColorSpace.TYPE_CMYK
 
 - 
HLS@UML(identifier="CV_HLS", obligation=CONDITIONAL, specification=OGC_01004) public static final PaletteInterpretation HLS HSL (Hue Saturation Lightness) color palette.- See Also:
- ColorSpace.TYPE_HLS
 
 
- 
 - 
Method Detail- 
valuespublic static PaletteInterpretation[] values() Returns the list ofPaletteInterpretations.- Returns:
- The list of codes declared in the current JVM.
 
 - 
familypublic PaletteInterpretation[] family() Returns the list of enumerations of the same kind than this enum.- Specified by:
- familyin class- CodeList<PaletteInterpretation>
- Returns:
- The codes of the same kind than this code.
 
 - 
valueOfpublic static PaletteInterpretation valueOf(String code) Returns the palette interpretation that matches the given string, or returns a new one if none match it.- Parameters:
- code- The name of the code to fetch or to create.
- Returns:
- A code matching the given name.
 
 
- 
 
-