org.geotools.styling
Class ColorMapImpl

java.lang.Object
  extended byorg.geotools.event.AbstractGTComponent
      extended byorg.geotools.styling.ColorMapImpl
All Implemented Interfaces:
ColorMap, GTComponent

public class ColorMapImpl
extends AbstractGTComponent
implements ColorMap

A simple implementation of the color map interface.

Author:
iant, aaime

Field Summary
 
Fields inherited from class org.geotools.event.AbstractGTComponent
notification
 
Fields inherited from interface org.geotools.styling.ColorMap
TYPE_INTERVALS, TYPE_RAMP, TYPE_VALUES
 
Constructor Summary
ColorMapImpl()
           
 
Method Summary
 void addColorMapEntry(ColorMapEntry entry)
           
 ColorMapEntry[] getColorMapEntries()
           
 ColorMapEntry getColorMapEntry(int index)
           
 int getType()
           
 void setType(int type)
           
 
Methods inherited from class org.geotools.event.AbstractGTComponent
changed, clone, fireChanged, fireChildChanged, getNote, getParent, removed, setNote
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.geotools.event.GTComponent
changed, getNote, getParent, removed, setNote
 

Constructor Detail

ColorMapImpl

public ColorMapImpl()
Method Detail

addColorMapEntry

public void addColorMapEntry(ColorMapEntry entry)
Specified by:
addColorMapEntry in interface ColorMap

getColorMapEntries

public ColorMapEntry[] getColorMapEntries()
Specified by:
getColorMapEntries in interface ColorMap

getColorMapEntry

public ColorMapEntry getColorMapEntry(int index)
Specified by:
getColorMapEntry in interface ColorMap

getType

public int getType()
Specified by:
getType in interface ColorMap
See Also:
ColorMap.getType()

setType

public void setType(int type)
Specified by:
setType in interface ColorMap
See Also:
ColorMap.setType(int)


Copyright © GeoTools. All Rights Reserved.