public class ValueLegendEvent extends ClassificationLegendEvent
Event produced when changes any value of a legend.
FMapEvent
LEGEND_CLASSIFICATION_CHANGED, LEGEND_CLEARED, LEGEND_INTERVAL_CHANGED, LEGEND_SYMBOL_CHANGED, 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.
|
getClassIndex
getLayer, setLayer
setEventType
public ValueLegendEvent(java.lang.Object oldValue, java.lang.Object newValue)
Creates a new value legend event.
oldValue
- previous legend valuenewValue
- new legend valuepublic int getEventType()
Returns the type of this legend event.
getEventType
in class ClassificationLegendEvent
LegendEvent.LEGEND_VALUE_CHANGED
public java.lang.Object getNewValue()
Gets the new value.
public java.lang.Object getOldValue()
Gets the previous value.
Copyright © 2013 gvSIG Association. All rights reserved.