public class ValueLegendEvent extends ClassificationLegendEvent
Event produced when changes any value of a legend.
FMapEventLEGEND_CLASSIFICATION_CHANGED, LEGEND_CLEARED, LEGEND_INTERVAL_CHANGED, LEGEND_SYMBOL_CHANGED, LEGEND_VALUE_CHANGED| Constructor and Description |
|---|
ValueLegendEvent(Object oldValue,
Object newValue)
Creates a new value legend event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getEventType()
Returns the type of this legend event.
|
Object |
getNewValue()
Gets the new value.
|
Object |
getOldValue()
Gets the previous value.
|
getClassIndexgetLayer, setLayersetEventTypepublic Object getOldValue()
Gets the previous value.
public Object getNewValue()
Gets the new value.
public int getEventType()
Returns the type of this legend event.
getEventType in class ClassificationLegendEventLegendEvent.LEGEND_VALUE_CHANGED