org.geotools.renderer.lite.gridcoverage2d
Enum RasterSymbolizerSupport.RECOLOR_MODE_TYPE

java.lang.Object
  extended by java.lang.Enum<RasterSymbolizerSupport.RECOLOR_MODE_TYPE>
      extended by org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerSupport.RECOLOR_MODE_TYPE
All Implemented Interfaces:
Serializable, Comparable<RasterSymbolizerSupport.RECOLOR_MODE_TYPE>
Enclosing class:
RasterSymbolizerSupport

public static enum RasterSymbolizerSupport.RECOLOR_MODE_TYPE
extends Enum<RasterSymbolizerSupport.RECOLOR_MODE_TYPE>

Types for the recoloring process.


Enum Constant Summary
GT_CLASSIC
          The way of geotools 2.4.4.
MS_EXTENTION
          Alternative way of Martin Schmitz.
 
Method Summary
static RasterSymbolizerSupport.RECOLOR_MODE_TYPE valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RasterSymbolizerSupport.RECOLOR_MODE_TYPE[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GT_CLASSIC

public static final RasterSymbolizerSupport.RECOLOR_MODE_TYPE GT_CLASSIC
The way of geotools 2.4.4. The color map is used only for the (Grid)SampleDimensions already defined in the GridCoverage2D.


MS_EXTENTION

public static final RasterSymbolizerSupport.RECOLOR_MODE_TYPE MS_EXTENTION
Alternative way of Martin Schmitz. The GridCoverage2D is resampled accordingly to the given color map.

Method Detail

values

public static RasterSymbolizerSupport.RECOLOR_MODE_TYPE[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RasterSymbolizerSupport.RECOLOR_MODE_TYPE c : RasterSymbolizerSupport.RECOLOR_MODE_TYPE.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RasterSymbolizerSupport.RECOLOR_MODE_TYPE valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null