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 int
Indicates that aILcyMapComponent
was added.static final int
Indicates that aILcyMapComponent
was 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 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
-
Constructor Details
-
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.
-