Interface RasterLegendEvent

All Superinterfaces:
FMapEvent, LegendEvent
All Known Implementing Classes:
ChangeColorInterpretationEvent, ChangeOperationListEvent, ChangePaletteBandEvent, ChangePaletteEvent, RasterLegendEventBase

public interface RasterLegendEvent extends LegendEvent

LegendEvent represents an event produced at a legend in a layer.

See Also:
  • Field Details

    • RASTER_LEGEND_COLORINTERPRETATION_CHANGED

      static final int RASTER_LEGEND_COLORINTERPRETATION_CHANGED

      Identifies this event as a change of the color interpretation of a legend.

      See Also:
    • RASTER_LEGEND_PALETTE_CHANGED

      static final int RASTER_LEGEND_PALETTE_CHANGED

      Identifies this event as a change of the color interpretation of a legend.

      See Also:
    • RASTER_LEGEND_PALETTE_BAND_CHANGED

      static final int RASTER_LEGEND_PALETTE_BAND_CHANGED

      Identifies this event as a change of the color interpretation of a legend.

      See Also:
    • RASTER_LEGEND_FILTERS_CHANGED

      static final int RASTER_LEGEND_FILTERS_CHANGED

      Identifies this event as a change of the filters of a legend.

      See Also:
  • Method Details

    • getRasterLayer

      RasterLayer getRasterLayer()

      Returns the layer of the legend where the event was produced, as a classifiable and vector layer.

      Returns:
      the layer where the event was produced.
    • setRasterLayer

      void setRasterLayer(RasterLayer layer)

      Sets the layer of the legend where the event was produced, as a classifiable and vector layer.

      Parameters:
      layer - the layer where the event was produced.