org.geotools.styling
Class ColorMapEntryImpl

java.lang.Object
  extended by org.geotools.styling.ColorMapEntryImpl
All Implemented Interfaces:
ColorMapEntry

public class ColorMapEntryImpl
extends java.lang.Object
implements ColorMapEntry

Default color map entry implementation

Author:
aaime

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

Constructor Detail

ColorMapEntryImpl

public ColorMapEntryImpl()
Method Detail

getLabel

public java.lang.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(java.lang.String label)
Specified by:
setLabel in interface ColorMapEntry
See Also:
ColorMapEntry.setLabel(java.lang.String)

setColor

public void setColor(org.opengis.filter.expression.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 org.opengis.filter.expression.Expression getColor()
Specified by:
getColor in interface ColorMapEntry
Returns:
Expression evaualted into a color
See Also:
ColorMapEntry.getColor()

setOpacity

public void setOpacity(org.opengis.filter.expression.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 org.opengis.filter.expression.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(org.opengis.filter.expression.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 org.opengis.filter.expression.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.