Package org.geotools.styling
Class ColorMapEntryImpl
Object
ColorMapEntryImpl
- All Implemented Interfaces:
ColorMapEntry
Default color map entry implementation
- Author:
- aaime
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(StyleVisitor visitor) booleangetColor()getLabel()Label for this Color Map EntryinthashCode()voidsetColor(Expression color) Expression resulting in a colorvoidvoidsetOpacity(Expression opacity) voidsetQuantity(Expression quantity) Quantity marking the start of this color map entry.toString()
-
Constructor Details
-
ColorMapEntryImpl
public ColorMapEntryImpl()
-
-
Method Details
-
getLabel
Description copied from interface:ColorMapEntryLabel for this Color Map Entry- Specified by:
getLabelin interfaceColorMapEntry- See Also:
-
setLabel
- Specified by:
setLabelin interfaceColorMapEntry- See Also:
-
setColor
Description copied from interface:ColorMapEntryExpression resulting in a color- Specified by:
setColorin interfaceColorMapEntry- See Also:
-
getColor
- Specified by:
getColorin interfaceColorMapEntry- Returns:
- Expression evaluated into a color
- See Also:
-
setOpacity
- Specified by:
setOpacityin interfaceColorMapEntry- Parameters:
opacity- Expressed as a value between 0 and 1- See Also:
-
getOpacity
- Specified by:
getOpacityin interfaceColorMapEntry- Returns:
- Opacity expressed as a value between 0 and 1
- See Also:
-
setQuantity
Description copied from interface:ColorMapEntryQuantity marking the start of this color map entry.- Specified by:
setQuantityin interfaceColorMapEntry- See Also:
-
getQuantity
- Specified by:
getQuantityin interfaceColorMapEntry- Returns:
- Quanity marking the start of this color map entry
- See Also:
-
accept
- Specified by:
acceptin interfaceColorMapEntry
-
hashCode
public int hashCode() -
equals
-
toString
-