Class ColorsLabelLegendComponent

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
org.openjump.core.rasterimage.styler.ui.ColorsLabelLegendComponent
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class ColorsLabelLegendComponent extends JComponent
Author:
GeomaticaEAmbiente
See Also:
  • Constructor Details

    • 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
  • Method Details