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
Modifier and TypeFieldDescriptionstatic final int
Indicates that aILcyGenericMapComponent
was added.static final int
Indicates that aILcyGenericMapComponent
was removed.Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionTLcyGenericMapManagerEvent
(int aId, ILcyGenericMapComponent<S, T> aMapComponent, TLcyGenericMapManager<S, T> aMapManager) Creates a newALcyMapManagerEvent
. -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
Gets the id of the event.Returns theILcyGenericMapComponent
set in the constructor.Returns theILcyGeneralMapManager
set 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 aILcyGenericMapComponent
was added.- See Also:
-
MAP_COMPONENT_REMOVED
public static final int MAP_COMPONENT_REMOVEDIndicates that aILcyGenericMapComponent
was 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_ADDED
orMAP_COMPONENT_REMOVED
.aMapComponent
- TheILcyGenericMapComponent
involved in the event.aMapManager
- TheILcyGeneralMapManager
involved in the event.
-
-
Method Details
-
getMapManager
Returns theILcyGeneralMapManager
set in the constructor.- Returns:
- the
ILcyGeneralMapManager
set in the constructor.
-
getMapComponent
Returns theILcyGenericMapComponent
set in the constructor.- Returns:
- the
ILcyGenericMapComponent
set 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_ADDED
orMAP_COMPONENT_REMOVED
.
-