public class TLcyGenericMapManagerEvent<S extends ILcdView,T extends ILcdLayer> extends EventObject
TLcyGeneralMapManager
is changed. Current changes
involve the addition and the removal of a ILcyGenericMapComponent
TLcyGenericMapManager
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
MAP_COMPONENT_ADDED
Indicates that a
ILcyGenericMapComponent was added. |
static int |
MAP_COMPONENT_REMOVED
Indicates that a
ILcyGenericMapComponent was removed. |
source
Constructor and Description |
---|
TLcyGenericMapManagerEvent(int aId,
ILcyGenericMapComponent<S,T> aMapComponent,
TLcyGenericMapManager<S,T> aMapManager)
Creates a new
ALcyMapManagerEvent . |
Modifier and Type | Method and Description |
---|---|
int |
getId()
Gets the id of the event.
|
ILcyGenericMapComponent<S,T> |
getMapComponent()
Returns the
ILcyGenericMapComponent set in the constructor. |
TLcyGenericMapManager<S,T> |
getMapManager()
Returns the
ILcyGeneralMapManager set in the constructor. |
getSource, toString
public static final int MAP_COMPONENT_ADDED
ILcyGenericMapComponent
was added.public static final int MAP_COMPONENT_REMOVED
ILcyGenericMapComponent
was removed.public TLcyGenericMapManagerEvent(int aId, ILcyGenericMapComponent<S,T> aMapComponent, TLcyGenericMapManager<S,T> aMapManager)
ALcyMapManagerEvent
.aId
- The id of the event. Must be MAP_COMPONENT_ADDED
or
MAP_COMPONENT_REMOVED
.aMapComponent
- The ILcyGenericMapComponent
involved in the event.aMapManager
- The ILcyGeneralMapManager
involved in the event.public TLcyGenericMapManager<S,T> getMapManager()
ILcyGeneralMapManager
set in the constructor.ILcyGeneralMapManager
set in the constructor.public ILcyGenericMapComponent<S,T> getMapComponent()
ILcyGenericMapComponent
set in the constructor.ILcyGenericMapComponent
set in the constructor.public int getId()
MAP_COMPONENT_ADDED
or
MAP_COMPONENT_REMOVED
.