org.geotools.styling
Class ColorMapImpl

Object
  extended by ColorMapImpl
All Implemented Interfaces:
ColorMap

public class ColorMapImpl
extends Object
implements ColorMap

A simple implementation of the color map interface.

Author:
iant, aaime
Module:
modules/library/main (gt-main.jar)

Field Summary
 
Fields inherited from interface ColorMap
TYPE_INTERVALS, TYPE_RAMP, TYPE_VALUES
 
Constructor Summary
ColorMapImpl()
           
ColorMapImpl(Function function)
           
 
Method Summary
 void accept(StyleVisitor visitor)
           
 Object accept(StyleVisitor visitor, Object data)
           
 void addColorMapEntry(ColorMapEntry entry)
           
 boolean equals(Object obj)
           
 ColorMapEntry[] getColorMapEntries()
           
 ColorMapEntry getColorMapEntry(int index)
           
 boolean getExtendedColors()
           
 Function getFunction()
           
 int getType()
           
 int hashCode()
           
 void setExtendedColors(boolean extended)
           
 void setType(int type)
           
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorMapImpl

public ColorMapImpl()

ColorMapImpl

public ColorMapImpl(Function function)
Method Detail

addColorMapEntry

public void addColorMapEntry(ColorMapEntry entry)

getColorMapEntries

public ColorMapEntry[] getColorMapEntries()

getColorMapEntry

public ColorMapEntry getColorMapEntry(int index)

getType

public int getType()
See Also:
ColorMap.getType()

setType

public void setType(int type)
See Also:
ColorMap.setType(int)

accept

public Object accept(StyleVisitor visitor,
                     Object data)
Specified by:
accept in interface ColorMap

getExtendedColors

public boolean getExtendedColors()

setExtendedColors

public void setExtendedColors(boolean extended)

getFunction

public Function getFunction()
Specified by:
getFunction in interface ColorMap

accept

public void accept(StyleVisitor visitor)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 1996-2009 Geotools. All Rights Reserved.