org.geotools.styling
Interface ColorMapEntry

All Known Implementing Classes:
ColorMapEntryImpl

public interface ColorMapEntry

A basic interface for objects which can hold color map entries.

  <xs:element name="ColorMapEntry">
  <xs:complexType>
  <xs:attribute name="color" type="xs:string" use="required"/>
  <xs:attribute name="opacity" type="xs:double"/>
  <xs:attribute name="quantity" type="xs:double"/>
  <xs:attribute name="label" type="xs:string"/>
  </xs:complexType>
  </xs:element>
  


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.
 

Method Detail

getLabel

java.lang.String getLabel()
Label for this Color Map Entry


setLabel

void setLabel(java.lang.String label)
Parameters:
label -

setColor

void setColor(org.opengis.filter.expression.Expression color)
Expression resulting in a color

Parameters:
color -

getColor

org.opengis.filter.expression.Expression getColor()
Returns:
Expression evaualted into a color

setOpacity

void setOpacity(org.opengis.filter.expression.Expression opacity)
Parameters:
opacity - Expressed as a value between 0 and 1

getOpacity

org.opengis.filter.expression.Expression getOpacity()
Returns:
Opacity expressed as a value between 0 and 1

setQuantity

void setQuantity(org.opengis.filter.expression.Expression quantity)
Quantity marking the start of this color map entry.

Parameters:
quantity -

getQuantity

org.opengis.filter.expression.Expression getQuantity()
Returns:
Quanity marking the start of this color map entry

accept

void accept(StyleVisitor visitor)


Copyright © 1996-2010 Geotools. All Rights Reserved.