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 TypeMethodDescriptionvoid
accept
(StyleVisitor visitor) boolean
getColor()
getLabel()
Label for this Color Map Entryint
hashCode()
void
setColor
(Expression color) Expression resulting in a colorvoid
void
setOpacity
(Expression opacity) void
setQuantity
(Expression quantity) Quantity marking the start of this color map entry.toString()
-
Constructor Details
-
ColorMapEntryImpl
public ColorMapEntryImpl()
-
-
Method Details
-
getLabel
Description copied from interface:ColorMapEntry
Label for this Color Map Entry- Specified by:
getLabel
in interfaceColorMapEntry
- See Also:
-
setLabel
- Specified by:
setLabel
in interfaceColorMapEntry
- See Also:
-
setColor
Description copied from interface:ColorMapEntry
Expression resulting in a color- Specified by:
setColor
in interfaceColorMapEntry
- See Also:
-
getColor
- Specified by:
getColor
in interfaceColorMapEntry
- Returns:
- Expression evaluated into a color
- See Also:
-
setOpacity
- Specified by:
setOpacity
in interfaceColorMapEntry
- Parameters:
opacity
- Expressed as a value between 0 and 1- See Also:
-
getOpacity
- Specified by:
getOpacity
in interfaceColorMapEntry
- Returns:
- Opacity expressed as a value between 0 and 1
- See Also:
-
setQuantity
Description copied from interface:ColorMapEntry
Quantity marking the start of this color map entry.- Specified by:
setQuantity
in interfaceColorMapEntry
- See Also:
-
getQuantity
- Specified by:
getQuantity
in interfaceColorMapEntry
- Returns:
- Quanity marking the start of this color map entry
- See Also:
-
accept
- Specified by:
accept
in interfaceColorMapEntry
-
hashCode
public int hashCode() -
equals
-
toString
-