Interface VectorLegendEvent
- All Superinterfaces:
FMapEvent,LegendEvent
- All Known Implementing Classes:
ClassificationLegendEvent,IntervalLegendEvent,LabelLegendEvent,LegendClearEvent,SymbolLegendEvent,ValueLegendEvent,VectorLegendEventBase
- Author:
- fdiaz
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifies this event as a change on the classification of a legend.static final intIdentifies this event as a legend interval change.static final intIdentifies this event as a change of the symbol of a legend.Fields inherited from interface org.gvsig.fmap.mapcontext.rendering.legend.events.LegendEvent
LEGEND_CHANGED, LEGEND_CLEARED, LEGEND_VALUE_CHANGED -
Method Summary
Modifier and TypeMethodDescriptiongetLayer()Returns the layer of the legend where the event was produced, as a classifiable and vector layer.voidsetLayer(ClassifiableVectorial 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, setEventSubtype
-
Field Details
-
LEGEND_SYMBOL_CHANGED
static final int LEGEND_SYMBOL_CHANGEDIdentifies this event as a change of the symbol of a legend.
- See Also:
-
LEGEND_INTERVAL_CHANGED
static final int LEGEND_INTERVAL_CHANGEDIdentifies this event as a legend interval change.
- See Also:
-
LEGEND_CLASSIFICATION_CHANGED
static final int LEGEND_CLASSIFICATION_CHANGEDIdentifies this event as a change on the classification of a legend.
- See Also:
-
-
Method Details
-
getLayer
ClassifiableVectorial getLayer()Returns the layer of the legend where the event was produced, as a classifiable and vector layer.
- Specified by:
getLayerin interfaceLegendEvent- Returns:
- the layer where the event was produced, as classifiable vector
-
setLayer
Sets the layer of the legend where the event was produced, as a classifiable and vector layer.
- Specified by:
setLayerin interfaceLegendEvent- Parameters:
layer- the layer where the event was produced, as classifiable vector
-