public class TLcyMapManagerEvent extends EventObject
ILcyMapManager
is changed. Current changes
involve the addition and the removal of a ILcyMapComponent
ILcyMapManager
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
MAP_COMPONENT_ADDED
Indicates that a
ILcyMapComponent was added. |
static int |
MAP_COMPONENT_REMOVED
Indicates that a
ILcyMapComponent was removed. |
source
Constructor and Description |
---|
TLcyMapManagerEvent(int aId,
ILcyMapComponent aMapComponent,
ILcyMapManager aMapManager)
Creates a new
TLcyMapManagerEvent . |
Modifier and Type | Method and Description |
---|---|
int |
getId()
Gets the id of the event.
|
ILcyMapComponent |
getMapComponent()
Returns the
ILcyMapComponent set in the constructor. |
ILcyMapManager |
getMapManager()
Returns the
ILcyMapManager set in the constructor. |
getSource, toString
public static final int MAP_COMPONENT_ADDED
ILcyMapComponent
was added.public static final int MAP_COMPONENT_REMOVED
ILcyMapComponent
was removed.public TLcyMapManagerEvent(int aId, ILcyMapComponent aMapComponent, ILcyMapManager aMapManager)
TLcyMapManagerEvent
.aId
- The id of the event. Must be MAP_COMPONENT_ADDED or MAP_COMPONENT_REMOVED.aMapComponent
- The ILcyMapComponent
involved in the event.aMapManager
- The TLcyMapManager
involved in the event.public ILcyMapManager getMapManager()
ILcyMapManager
set in the constructor.ILcyMapManager
set in the constructor.public ILcyMapComponent getMapComponent()
ILcyMapComponent
set in the constructor.ILcyMapComponent
set in the constructor.public int getId()