Package com.luciad.lucy.map
Class TLcyMapManagerEvent
java.lang.Object
java.util.EventObject
com.luciad.lucy.map.TLcyMapManagerEvent
- All Implemented Interfaces:
Serializable
Event fired when a
ILcyMapManager is changed. Current changes
involve the addition and the removal of a ILcyMapComponent- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates that aILcyMapComponentwas added.static final intIndicates that aILcyMapComponentwas removed.Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionTLcyMapManagerEvent(int aId, ILcyMapComponent aMapComponent, ILcyMapManager aMapManager) Creates a newTLcyMapManagerEvent. -
Method Summary
Modifier and TypeMethodDescriptionintgetId()Gets the id of the event.Returns theILcyMapComponentset in the constructor.Returns theILcyMapManagerset 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 aILcyMapComponentwas added.- See Also:
-
MAP_COMPONENT_REMOVED
public static final int MAP_COMPONENT_REMOVEDIndicates that aILcyMapComponentwas removed.- See Also:
-
-
Constructor Details
-
TLcyMapManagerEvent
Creates a newTLcyMapManagerEvent.- Parameters:
aId- The id of the event. Must be MAP_COMPONENT_ADDED or MAP_COMPONENT_REMOVED.aMapComponent- TheILcyMapComponentinvolved in the event.aMapManager- TheTLcyMapManagerinvolved in the event.
-
-
Method Details
-
getMapManager
Returns theILcyMapManagerset in the constructor.- Returns:
- the
ILcyMapManagerset in the constructor.
-
getMapComponent
Returns theILcyMapComponentset in the constructor.- Returns:
- the
ILcyMapComponentset 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 or MAP_COMPONENT_REMOVED.
-