Class RasterLegendEventBase

All Implemented Interfaces:
FMapEvent, RasterLegendEvent, LegendEvent
Direct Known Subclasses:
ChangeColorInterpretationEvent, ChangeOperationListEvent, ChangePaletteBandEvent, ChangePaletteEvent

public class RasterLegendEventBase extends LegendEventBase implements RasterLegendEvent
Author:
fdiaz
  • Constructor Details

    • RasterLegendEventBase

      public RasterLegendEventBase(int type, int subtype)
      Parameters:
      type -
      subtype -
  • Method Details

    • getRasterLayer

      public RasterLayer getRasterLayer()

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

      Specified by:
      getRasterLayer in interface RasterLegendEvent
      Returns:
      the layer where the event was produced.
    • setRasterLayer

      public void setRasterLayer(RasterLayer layer)

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

      Specified by:
      setRasterLayer in interface RasterLegendEvent
      Parameters:
      layer - the layer where the event was produced.