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>
  

Module:
modules/library/api (gt-api.jar)

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.
 

Method Detail

getLabel

String getLabel()
Label for this Color Map Entry


setLabel

void setLabel(String label)
Parameters:
label -

setColor

void setColor(Expression color)
Expression resulting in a color

Parameters:
color -

getColor

Expression getColor()
Returns:
Expression evaualted into a color

setOpacity

void setOpacity(Expression opacity)
Parameters:
opacity - Expressed as a value between 0 and 1

getOpacity

Expression getOpacity()
Returns:
Opacity expressed as a value between 0 and 1

setQuantity

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

Parameters:
quantity -

getQuantity

Expression getQuantity()
Returns:
Quanity marking the start of this color map entry

accept

void accept(StyleVisitor visitor)


Copyright © 1996-2010 Geotools. All Rights Reserved.