GeoAPI 2.0
Build 2005-06-08

org.opengis.coverage
Class PaletteInterpretation

Object
  extended by CodeList<PaletteInterpretation>
      extended by 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.

 

WARNING: THIS CLASS WILL CHANGE. Current API is derived from OGC Grid Coverages Implementation specification 1.0. We plan to replace it by new interfaces derived from ISO 19123 (Schema for coverage geometry and functions). Current interfaces should be considered as legacy and are included in this distribution only because they were part of GeoAPI 1.0 release. We will try to preserve as much compatibility as possible, but no migration plan has been determined yet.

Since:
GeoAPI 1.0
Version:
Grid Coverage specification 1.0
See Also:
ColorInterpretation, SampleDimension, Serialized Form

Field Summary
static PaletteInterpretation CMYK
          CYMK (Cyan Yellow Magenta blacK) color palette.
static PaletteInterpretation GRAY
          Gray Scale color palette.
static PaletteInterpretation HLS
          HSL (Hue Saturation Lightness) color palette.
static PaletteInterpretation RGB
          RGB (Red Green Blue) color palette.
 
Constructor Summary
PaletteInterpretation(String name)
          Constructs an enum with the given name.
 
Method Summary
 PaletteInterpretation[] family()
          Returns the list of enumerations of the same kind than this enum.
static PaletteInterpretation[] values()
          Returns the list of PaletteInterpretations.
 
Methods inherited from class CodeList
compareTo, name, ordinal, readResolve, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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
Constructor Detail

PaletteInterpretation

public PaletteInterpretation(String name)
Constructs an enum with the given name. The new enum is automatically added to the list returned by values().

Parameters:
name - The enum name. This name must not be in use by an other enum of this type.
Method Detail

values

public static PaletteInterpretation[] values()
Returns the list of PaletteInterpretations.


family

public PaletteInterpretation[] family()
Returns the list of enumerations of the same kind than this enum.

Specified by:
family in class CodeList<PaletteInterpretation>

GeoAPI 2.0
Build 2005-06-08

Symbols, terms and definitions
Copyright OpenGIS® Consortium