public class ValueLegendEvent extends ClassificationLegendEvent
Event produced when changes any value of a legend.
FMapEventLEGEND_CLASSIFICATION_CHANGED, LEGEND_INTERVAL_CHANGED, LEGEND_SYMBOL_CHANGEDLEGEND_CHANGED, LEGEND_CLEARED, LEGEND_VALUE_CHANGED| Constructor and Description |
|---|
ValueLegendEvent(java.lang.Object oldValue,
java.lang.Object newValue)
Creates a new value legend event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getEventType()
Returns the type of this legend event.
|
java.lang.Object |
getNewValue()
Gets the new value.
|
java.lang.Object |
getOldValue()
Gets the previous value.
|
getClassIndexgetLayer, setLayergetEventSubtype, setEventSubtypesetEventTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEventSubtype, setEventSubtypesetEventTypepublic ValueLegendEvent(java.lang.Object oldValue,
java.lang.Object newValue)
Creates a new value legend event.
oldValue - previous legend valuenewValue - new legend valuepublic java.lang.Object getOldValue()
Gets the previous value.
public java.lang.Object getNewValue()
Gets the new value.
public int getEventType()
Returns the type of this legend event.
getEventType in interface FMapEventgetEventType in class ClassificationLegendEventLegendEvent.LEGEND_VALUE_CHANGED