Package com.luciad.lucy.map
Class TLcyGenericMapManagerEvent<S extends ILcdView,T extends ILcdLayer>
java.lang.Object
java.util.EventObject
com.luciad.lucy.map.TLcyGenericMapManagerEvent<S,T>
- All Implemented Interfaces:
Serializable
Event fired when a
TLcyGeneralMapManager is changed. Current changes
involve the addition and the removal of a ILcyGenericMapComponent- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates that aILcyGenericMapComponentwas added.static final intIndicates that aILcyGenericMapComponentwas removed.Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionTLcyGenericMapManagerEvent(int aId, ILcyGenericMapComponent<S, T> aMapComponent, TLcyGenericMapManager<S, T> aMapManager) Creates a newALcyMapManagerEvent. -
Method Summary
Modifier and TypeMethodDescriptionintgetId()Gets the id of the event.Returns theILcyGenericMapComponentset in the constructor.Returns theILcyGeneralMapManagerset in the constructor.Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
MAP_COMPONENT_ADDED
public static final int MAP_COMPONENT_ADDEDIndicates that aILcyGenericMapComponentwas added.- See Also:
-
MAP_COMPONENT_REMOVED
public static final int MAP_COMPONENT_REMOVEDIndicates that aILcyGenericMapComponentwas removed.- See Also:
-
-
Constructor Details
-
TLcyGenericMapManagerEvent
public TLcyGenericMapManagerEvent(int aId, ILcyGenericMapComponent<S, T> aMapComponent, TLcyGenericMapManager<S, T> aMapManager) Creates a newALcyMapManagerEvent.- Parameters:
aId- The id of the event. Must beMAP_COMPONENT_ADDEDorMAP_COMPONENT_REMOVED.aMapComponent- TheILcyGenericMapComponentinvolved in the event.aMapManager- TheILcyGeneralMapManagerinvolved in the event.
-
-
Method Details
-
getMapManager
Returns theILcyGeneralMapManagerset in the constructor.- Returns:
- the
ILcyGeneralMapManagerset in the constructor.
-
getMapComponent
Returns theILcyGenericMapComponentset in the constructor.- Returns:
- the
ILcyGenericMapComponentset in the constructor.
-
getId
public int getId()Gets the id of the event.- Returns:
- the id of the event. Must be one of the following:
MAP_COMPONENT_ADDEDorMAP_COMPONENT_REMOVED.
-