Class LabelLegendEvent
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.LabelLegendEvent
- All Implemented Interfaces:
FMapEvent,LegendEvent,VectorLegendEvent
Event produced when changes the value in the field of labeling 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
ConstructorsConstructorDescriptionLabelLegendEvent(int oldFieldId, int newFieldId) Creates a new legend label event. -
Method Summary
Modifier and TypeMethodDescriptionintGets the new field value.intGets the previous field value.Methods 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
getEventType, 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
getEventType, setEventTypeMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.legend.events.LegendEvent
getEventSubtype, setEventSubtype
-
Constructor Details
-
LabelLegendEvent
public LabelLegendEvent(int oldFieldId, int newFieldId) Creates a new legend label event.
- Parameters:
oldFieldId- previous field valuenewFieldId- new field value
-
-
Method Details
-
getNewFieldId
public int getNewFieldId()Gets the new field value.
- Returns:
- the new field value
-
getOldFieldId
public int getOldFieldId()Gets the previous field value.
- Returns:
- the previous field value
-