Interface RasterLegendEvent
- All Superinterfaces:
FMapEvent,LegendEvent
- All Known Implementing Classes:
ChangeColorInterpretationEvent,ChangeOperationListEvent,ChangePaletteBandEvent,ChangePaletteEvent,RasterLegendEventBase
LegendEvent represents an event produced at a legend in a layer.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifies this event as a change of the color interpretation of a legend.static final intIdentifies this event as a change of the filters of a legend.static final intIdentifies this event as a change of the color interpretation of a legend.static final intIdentifies this event as a change of the color interpretation of a legend.Fields inherited from interface org.gvsig.fmap.mapcontext.rendering.legend.events.LegendEvent
LEGEND_CHANGED, LEGEND_CLASSIFICATION_CHANGED, LEGEND_CLEARED, LEGEND_INTERVAL_CHANGED, LEGEND_SYMBOL_CHANGED, LEGEND_VALUE_CHANGED -
Method Summary
Modifier and TypeMethodDescriptionReturns the layer of the legend where the event was produced, as a classifiable and vector layer.voidsetRasterLayer(RasterLayer layer) Sets the layer of the legend where the event was produced, as a classifiable and vector layer.Methods inherited from interface org.gvsig.fmap.mapcontext.events.FMapEvent
getEventType, setEventTypeMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.legend.events.LegendEvent
getEventSubtype, getLayer, setEventSubtype, setLayer
-
Field Details
-
RASTER_LEGEND_COLORINTERPRETATION_CHANGED
static final int RASTER_LEGEND_COLORINTERPRETATION_CHANGEDIdentifies this event as a change of the color interpretation of a legend.
- See Also:
-
RASTER_LEGEND_PALETTE_CHANGED
static final int RASTER_LEGEND_PALETTE_CHANGEDIdentifies 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_CHANGEDIdentifies this event as a change of the color interpretation of a legend.
- See Also:
-
RASTER_LEGEND_FILTERS_CHANGED
static final int RASTER_LEGEND_FILTERS_CHANGEDIdentifies 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
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.
-