Class LegendChangedEvent
java.lang.Object
org.gvsig.fmap.mapcontext.events.FMapEventBase
org.gvsig.fmap.mapcontext.rendering.legend.events.LegendEventBase
org.gvsig.fmap.mapcontext.rendering.legend.events.LegendChangedEvent
- All Implemented Interfaces:
FMapEvent,LegendEvent
Event or set of events produced when changes a legend.
-
Field Summary
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 TypeMethodDescriptionaddEvent(LegendChangedEvent event) static LegendChangedEventcreateLegendChangedEvent(ILegend legend, FMapEvent event) static LegendChangedEventcreateLegendChangedEvent(ILegend oldLegend, ILegend newLegend) Creates a new legend change event.Gets the events that constitute this one.Gets the new vector legend.Gets the previous vector legend.voidsetEvents(LegendChangedEvent[] events) Sets the events that constitute this one.voidsetSourceEvent(FMapEvent event) Methods inherited from class org.gvsig.fmap.mapcontext.rendering.legend.events.LegendEventBase
getEventSubtype, getLayer, setEventSubtype, setLayerMethods inherited from class org.gvsig.fmap.mapcontext.events.FMapEventBase
getEventType, setEventTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gvsig.fmap.mapcontext.events.FMapEvent
getEventType, setEventType
-
Method Details
-
createLegendChangedEvent
Creates a new legend change event.
- Parameters:
oldLegend- previous vector legendnewLegend- new vector legend- Returns:
- a new legend change event
-
createLegendChangedEvent
-
getOldLegend
Gets the previous vector legend.
- Returns:
- the previous vector legend
-
getNewLegend
Gets the new vector legend.
- Returns:
- the new vector legend
-
getEvents
Gets the events that constitute this one.
- Returns:
- an array with the events that constitute this one
-
setEvents
Sets the events that constitute this one.
- Parameters:
events- an array with the events that constitute this one
-
addEvent
-
setSourceEvent
-
getSourceEvent
-