public class LegendChangedEvent extends LegendEvent
Event or set of events produced when changes a legend.
FMapEvent
LEGEND_CLASSIFICATION_CHANGED, LEGEND_CLEARED, LEGEND_INTERVAL_CHANGED, LEGEND_SYMBOL_CHANGED, LEGEND_VALUE_CHANGED
Modifier and Type | Method and Description |
---|---|
static LegendChangedEvent |
createLegendChangedEvent(ILegend oldLegend,
ILegend newLegend)
Creates a new legend change event.
|
LegendChangedEvent[] |
getEvents()
Gets the events that constitute this one.
|
ILegend |
getNewLegend()
Gets the new vector legend.
|
ILegend |
getOldLegend()
Gets the previous vector legend.
|
void |
setEvents(LegendChangedEvent[] events)
Sets the events that constitute this one.
|
getLayer, setLayer
getEventType, setEventType
public static LegendChangedEvent createLegendChangedEvent(ILegend oldLegend, ILegend newLegend)
Creates a new legend change event.
oldLegend
- previous vector legendnewLegend
- new vector legendpublic LegendChangedEvent[] getEvents()
Gets the events that constitute this one.
public ILegend getNewLegend()
Gets the new vector legend.
public ILegend getOldLegend()
Gets the previous vector legend.
public void setEvents(LegendChangedEvent[] events)
Sets the events that constitute this one.
events
- an array with the events that constitute this oneCopyright © 2013 gvSIG Association. All rights reserved.