public class ValueLegendEvent extends ClassificationLegendEvent
Event produced when changes any value of a legend.
FMapEvent
LEGEND_CLASSIFICATION_CHANGED, LEGEND_INTERVAL_CHANGED, LEGEND_SYMBOL_CHANGED
LEGEND_CHANGED, LEGEND_CLEARED, 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.
|
getClassIndex
getLayer, setLayer
getEventSubtype, setEventSubtype
setEventType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventSubtype, setEventSubtype
setEventType
public 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 interface FMapEvent
getEventType
in class ClassificationLegendEvent
LegendEvent.LEGEND_VALUE_CHANGED