Class TLcyAddOnContainerEvent

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

public class TLcyAddOnContainerEvent extends EventObject
Event thrown when the addon container has changed. It contains
  • an ID describing the type of event
  • the addon with respect to the event
  • the lucy env that is the originator of the event
See Also:
  • Field Details

    • ADDON_ADDING

      public static final int ADDON_ADDING
      Indicates an addon is going to be added. Use getAddOn to retrieve it.
      See Also:
    • ADDON_ADDED

      public static final int ADDON_ADDED
      Indicates an addon has been added. Use getAddOn to retrieve it.
      See Also:
    • ADDON_REMOVING

      public static final int ADDON_REMOVING
      Indicates an addon is going to be removed. Use getAddOn to retrieve it.
      See Also:
    • ADDON_REMOVED

      public static final int ADDON_REMOVED
      Indicates an addon has been removed. Use getAddOn to retrieve it.
      See Also:
  • Constructor Details

    • TLcyAddOnContainerEvent

      public TLcyAddOnContainerEvent(ILcyLucyEnv aSource, int aID, ALcyAddOn aAddOn)
      Creates a new addon container event object with the given properties.
      Parameters:
      aSource - The originator of the event.
      aID - The type of event: ADDON_ADDING, ADDON_ADDED, ADDON_REMOVING or ADDON_REMOVED.
      aAddOn - The addon with respect to the event.
  • Method Details

    • getID

      public int getID()
      Returns the id of this event: ADDON_ADDING, ADDON_ADDED, ADDON_REMOVING or ADDON_REMOVED.
      Returns:
      the id of this event.
    • getAddOn

      public ALcyAddOn getAddOn()
      Returns the addon with respect to this event.
      Returns:
      the addon with respect to this event.
    • getLucyEnv

      public ILcyLucyEnv getLucyEnv()
      Returns the ILcyLucyEnv who is the originator of this event.
      Returns:
      the ILcyLucyEnv who is the originator of this event.