Class ValueLegendEvent
java.lang.Object
org.gvsig.fmap.mapcontext.events.FMapEventBase
org.gvsig.fmap.mapcontext.rendering.legend.events.LegendEventBase
org.gvsig.fmap.mapcontext.rendering.legend.events.VectorLegendEventBase
org.gvsig.fmap.mapcontext.rendering.legend.events.ClassificationLegendEvent
org.gvsig.fmap.mapcontext.rendering.legend.events.ValueLegendEvent
- All Implemented Interfaces:
FMapEvent,LegendEvent,VectorLegendEvent
Event produced when changes any value of a legend.
- Author:
- Vicente Caballero Navarro
- See Also:
-
Field Summary
Fields inherited from interface org.gvsig.fmap.mapcontext.rendering.legend.events.LegendEvent
LEGEND_CHANGED, LEGEND_CLASSIFICATION_CHANGED, LEGEND_CLEARED, LEGEND_INTERVAL_CHANGED, LEGEND_SYMBOL_CHANGED, LEGEND_VALUE_CHANGEDFields inherited from interface org.gvsig.fmap.mapcontext.rendering.legend.events.VectorLegendEvent
LEGEND_CLASSIFICATION_CHANGED, LEGEND_INTERVAL_CHANGED, LEGEND_SYMBOL_CHANGED -
Constructor Summary
ConstructorsConstructorDescriptionValueLegendEvent(Object oldValue, Object newValue) Creates a new value legend event. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the type of this legend event.Gets the new value.Gets the previous value.Methods inherited from class org.gvsig.fmap.mapcontext.rendering.legend.events.ClassificationLegendEvent
getClassIndexMethods inherited from class org.gvsig.fmap.mapcontext.rendering.legend.events.VectorLegendEventBase
getLayer, setLayerMethods inherited from class org.gvsig.fmap.mapcontext.rendering.legend.events.LegendEventBase
getEventSubtype, setEventSubtypeMethods inherited from class org.gvsig.fmap.mapcontext.events.FMapEventBase
setEventTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gvsig.fmap.mapcontext.events.FMapEvent
setEventTypeMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.legend.events.LegendEvent
getEventSubtype, setEventSubtype
-
Constructor Details
-
ValueLegendEvent
Creates a new value legend event.
- Parameters:
oldValue- previous legend valuenewValue- new legend value
-
-
Method Details
-
getOldValue
Gets the previous value.
- Returns:
- the previous value
-
getNewValue
Gets the new value.
- Returns:
- the new value
-
getEventType
public int getEventType()Returns the type of this legend event.
- Specified by:
getEventTypein interfaceFMapEvent- Overrides:
getEventTypein classClassificationLegendEvent- Returns:
- the type of this legend event
- See Also:
-