public class RasterLegendEventBase extends LegendEventBase implements RasterLegendEvent
RASTER_LEGEND_COLORINTERPRETATION_CHANGED, RASTER_LEGEND_FILTERS_CHANGED, RASTER_LEGEND_PALETTE_BAND_CHANGED, RASTER_LEGEND_PALETTE_CHANGED
LEGEND_CHANGED, LEGEND_CLASSIFICATION_CHANGED, LEGEND_CLEARED, LEGEND_INTERVAL_CHANGED, LEGEND_SYMBOL_CHANGED, LEGEND_VALUE_CHANGED
Constructor and Description |
---|
RasterLegendEventBase(int type,
int subtype) |
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventSubtype, getLayer, setEventSubtype, setLayer
getEventType, setEventType
public RasterLegendEventBase(int type, int subtype)
type
- subtype
- public RasterLayer getRasterLayer()
Returns the layer of the legend where the event was produced, as a classifiable and vector layer.
getRasterLayer
in interface RasterLegendEvent
public void setRasterLayer(RasterLayer layer)
Sets the layer of the legend where the event was produced, as a classifiable and vector layer.
setRasterLayer
in interface RasterLegendEvent
layer
- the layer where the event was produced.