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
Modifier and TypeFieldDescriptionstatic final int
Indicates that aILcyMapComponent
was added.static final int
Indicates that aILcyMapComponent
was removed.Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionTLcyMapManagerEvent
(int aId, ILcyMapComponent aMapComponent, ILcyMapManager aMapManager) Creates a newTLcyMapManagerEvent
. -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
Gets the id of the event.Returns theILcyMapComponent
set in the constructor.Returns theILcyMapManager
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 aILcyMapComponent
was added.- See Also:
-
MAP_COMPONENT_REMOVED
public static final int MAP_COMPONENT_REMOVEDIndicates that aILcyMapComponent
was 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
- TheILcyMapComponent
involved in the event.aMapManager
- TheTLcyMapManager
involved in the event.
-
-
Method Details
-
getMapManager
Returns theILcyMapManager
set in the constructor.- Returns:
- the
ILcyMapManager
set in the constructor.
-
getMapComponent
Returns theILcyMapComponent
set in the constructor.- Returns:
- the
ILcyMapComponent
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 or MAP_COMPONENT_REMOVED.
-