org.geotools.styling
Class ColorMapEntryImpl

Object
  extended by ColorMapEntryImpl
All Implemented Interfaces:
ColorMapEntry

public class ColorMapEntryImpl
extends Object
implements ColorMapEntry

Default color map entry implementation

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

Constructor Summary
ColorMapEntryImpl()
           
 
Method Summary
 void accept(StyleVisitor visitor)
           
 Expression getColor()
           
 String getLabel()
          Label for this Color Map Entry
 Expression getOpacity()
           
 Expression getQuantity()
           
 void setColor(Expression color)
          Expression resulting in a color
 void setLabel(String label)
           
 void setOpacity(Expression opacity)
           
 void setQuantity(Expression quantity)
          Quantity marking the start of this color map entry.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorMapEntryImpl

public ColorMapEntryImpl()
Method Detail

getLabel

public String getLabel()
Description copied from interface: ColorMapEntry
Label for this Color Map Entry

Specified by:
getLabel in interface ColorMapEntry
See Also:
ColorMapEntry.getLabel()

setLabel

public void setLabel(String label)
Specified by:
setLabel in interface ColorMapEntry
See Also:
ColorMapEntry.setLabel(java.lang.String)

setColor

public void setColor(Expression color)
Description copied from interface: ColorMapEntry
Expression resulting in a color

Specified by:
setColor in interface ColorMapEntry
See Also:
org.geotools.styling.ColorMapEntry#setColor(org.geotools.filter.Expression)

getColor

public Expression getColor()
Specified by:
getColor in interface ColorMapEntry
Returns:
Expression evaualted into a color
See Also:
ColorMapEntry.getColor()

setOpacity

public void setOpacity(Expression opacity)
Specified by:
setOpacity in interface ColorMapEntry
Parameters:
opacity - Expressed as a value between 0 and 1
See Also:
org.geotools.styling.ColorMapEntry#setOpacity(org.geotools.filter.Expression)

getOpacity

public Expression getOpacity()
Specified by:
getOpacity in interface ColorMapEntry
Returns:
Opacity expressed as a value between 0 and 1
See Also:
ColorMapEntry.getOpacity()

setQuantity

public void setQuantity(Expression quantity)
Description copied from interface: ColorMapEntry
Quantity marking the start of this color map entry.

Specified by:
setQuantity in interface ColorMapEntry
See Also:
org.geotools.styling.ColorMapEntry#setQuantity(org.geotools.filter.Expression)

getQuantity

public Expression getQuantity()
Specified by:
getQuantity in interface ColorMapEntry
Returns:
Quanity marking the start of this color map entry
See Also:
ColorMapEntry.getQuantity()

accept

public void accept(StyleVisitor visitor)
Specified by:
accept in interface ColorMapEntry


Copyright © 1996-2010 Geotools. All Rights Reserved.