skrueger
Class RasterLegendData
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<Double,Translation>
skrueger.RasterLegendData
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Double,Translation>
public class RasterLegendData
- extends HashMap<Double,Translation>
Holds all the additional information needed to paint a Legend for a RasterLayer.
So far, only Legends for one-band raster layers are supported.
- Author:
- Stefan Alfons Krüger
- See Also:
- Serialized Form
Constructor Summary |
RasterLegendData(boolean paintGaps)
paintGaps defines, if gaps should be painted between the legends colors,
indicating nominal values in the raster (e.g. classifications) |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
RasterLegendData
public RasterLegendData(boolean paintGaps)
paintGaps
defines, if gaps should be painted between the legends colors,
indicating nominal values in the raster (e.g. classifications)
isPaintGaps
public Boolean isPaintGaps()
setPaintGaps
public void setPaintGaps(boolean paintPaps)
getPaintGaps
public boolean getPaintGaps()
getSortedKeys
public List<Double> getSortedKeys()