public interface RasterLegendEvent extends LegendEvent
LegendEvent
represents an event produced at a legend in a layer.
FMapEvent
Modifier and Type | Field and Description |
---|---|
static int |
RASTER_LEGEND_COLORINTERPRETATION_CHANGED
Identifies this event as a change of the color interpretation of a legend.
|
static int |
RASTER_LEGEND_FILTERS_CHANGED
Identifies this event as a change of the filters of a legend.
|
static int |
RASTER_LEGEND_PALETTE_BAND_CHANGED
Identifies this event as a change of the color interpretation of a legend.
|
static int |
RASTER_LEGEND_PALETTE_CHANGED
Identifies this event as a change of the color interpretation of a legend.
|
LEGEND_CHANGED, LEGEND_CLASSIFICATION_CHANGED, LEGEND_CLEARED, LEGEND_INTERVAL_CHANGED, LEGEND_SYMBOL_CHANGED, LEGEND_VALUE_CHANGED
Modifier and Type | Method and Description |
---|---|
RasterLayer |
getRasterLayer()
Returns the layer of the legend where the event was produced, as a classifiable and vector layer.
|
void |
setRasterLayer(RasterLayer layer)
Sets the layer of the legend where the event was produced, as a classifiable and vector layer.
|
getEventSubtype, getLayer, setEventSubtype, setLayer
getEventType, setEventType
static final int RASTER_LEGEND_COLORINTERPRETATION_CHANGED
Identifies this event as a change of the color interpretation of a legend.
static final int RASTER_LEGEND_PALETTE_CHANGED
Identifies this event as a change of the color interpretation of a legend.
static final int RASTER_LEGEND_PALETTE_BAND_CHANGED
Identifies this event as a change of the color interpretation of a legend.
static final int RASTER_LEGEND_FILTERS_CHANGED
Identifies this event as a change of the filters of a legend.
RasterLayer getRasterLayer()
Returns the layer of the legend where the event was produced, as a classifiable and vector layer.
void setRasterLayer(RasterLayer layer)
Sets the layer of the legend where the event was produced, as a classifiable and vector layer.
layer
- the layer where the event was produced.