Class TLcyMapManagerEvent

java.lang.Object
java.util.EventObject
com.luciad.lucy.map.TLcyMapManagerEvent
All Implemented Interfaces:
Serializable

public class TLcyMapManagerEvent extends EventObject
Event fired when a ILcyMapManager is changed. Current changes involve the addition and the removal of a ILcyMapComponent
See Also:
  • Field Details

    • MAP_COMPONENT_ADDED

      public static final int MAP_COMPONENT_ADDED
      Indicates that a ILcyMapComponent was added.
      See Also:
    • MAP_COMPONENT_REMOVED

      public static final int MAP_COMPONENT_REMOVED
      Indicates that a ILcyMapComponent was removed.
      See Also:
  • Constructor Details

    • TLcyMapManagerEvent

      public TLcyMapManagerEvent(int aId, ILcyMapComponent aMapComponent, ILcyMapManager aMapManager)
      Creates a new TLcyMapManagerEvent.
      Parameters:
      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.
  • Method Details

    • getMapManager

      public ILcyMapManager getMapManager()
      Returns the ILcyMapManager set in the constructor.
      Returns:
      the ILcyMapManager set in the constructor.
    • getMapComponent

      public ILcyMapComponent getMapComponent()
      Returns the ILcyMapComponent 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.