Class ColorsLabelLegendComponent

    • Constructor Detail

      • ColorsLabelLegendComponent

        public ColorsLabelLegendComponent​(TreeMap<Double,​Color> colorMapEntries,
                                          double noDataValue,
                                          String rasterName)
                                   throws Exception
        Constructor to create the new component formed by a JButton and a JLabel.
        Parameters:
        colorMapEntries - a TreeMap apping double values to Colors
        noDataValue - a double value meaning nodata
        rasterName - name of the RasterImageLayer
        Throws:
        Exception - if an Exception occurred