Class LegendEventBase
java.lang.Object
org.gvsig.fmap.mapcontext.events.FMapEventBase
org.gvsig.fmap.mapcontext.rendering.legend.events.LegendEventBase
- All Implemented Interfaces:
FMapEvent,LegendEvent
- Direct Known Subclasses:
LegendChangedEvent,RasterLegendEventBase,VectorLegendEventBase
- Author:
- fdiaz
-
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_CHANGED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the subtype of this event.getLayer()Deprecated.voidsetEventSubtype(int eventSubtype) Sets the subtype of the event.voidsetLayer(ClassifiableVectorial layer) Deprecated.Methods 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, setEventType
-
Constructor Details
-
LegendEventBase
public LegendEventBase() -
LegendEventBase
public LegendEventBase(int type, int subtype) - Parameters:
subtype-
-
-
Method Details
-
getLayer
Deprecated.Description copied from interface:LegendEventReturns the layer of the legend where the event was produced, as a classifiable and vector layer.
- Specified by:
getLayerin interfaceLegendEvent- Returns:
- the layer where the event was produced, as classifiable vector
-
setLayer
Deprecated.Description copied from interface:LegendEventSets the layer of the legend where the event was produced, as a classifiable and vector layer.
- Specified by:
setLayerin interfaceLegendEvent- Parameters:
layer- the layer where the event was produced, as classifiable vector
-
getEventSubtype
public int getEventSubtype()Description copied from interface:LegendEventGets the subtype of this event.
- Specified by:
getEventSubtypein interfaceLegendEvent- Returns:
- the subtype of this event
-
setEventSubtype
public void setEventSubtype(int eventSubtype) Description copied from interface:LegendEventSets the subtype of the event.
- Specified by:
setEventSubtypein interfaceLegendEvent- Parameters:
eventSubtype- the number that identifies this event's type
-