Class IntervalLegendEvent
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.IntervalLegendEvent
- All Implemented Interfaces:
FMapEvent,LegendEvent,VectorLegendEvent
Event produced when changes the interval value of a classification legend.
- Author:
- jaume dominguez faus - jaume.dominguez@iver.es
- 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
ConstructorsConstructorDescriptionIntervalLegendEvent(IInterval oldInterval, IInterval newInterval) Creates a new legend interval event. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the type of this legend event.Gets the new legend interval.Gets the previous legend interval.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
-
IntervalLegendEvent
Creates a new legend interval event.
- Parameters:
oldInterval- previous legend intervalnewInterval- new legend interval
-
-
Method Details
-
getOldInterval
Gets the previous legend interval.
- Returns:
- the previous legend interval
-
getNewInterval
Gets the new legend interval.
- Returns:
- the new legend interval
-
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:
-