public class RasterLegendEventBase extends LegendEventBase implements RasterLegendEvent
RASTER_LEGEND_COLORINTERPRETATION_CHANGED, RASTER_LEGEND_FILTERS_CHANGED, RASTER_LEGEND_PALETTE_BAND_CHANGED, RASTER_LEGEND_PALETTE_CHANGEDLEGEND_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, setLayergetEventType, setEventTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEventSubtype, getLayer, setEventSubtype, setLayergetEventType, setEventTypepublic 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 RasterLegendEventpublic void setRasterLayer(RasterLayer layer)
Sets the layer of the legend where the event was produced, as a classifiable and vector layer.
setRasterLayer in interface RasterLegendEventlayer - the layer where the event was produced.