Class TLcdDAFIFLoaderEvent

java.lang.Object
java.util.EventObject
com.luciad.format.dafif.gui.TLcdDAFIFLoaderEvent
All Implemented Interfaces:
Serializable

public class TLcdDAFIFLoaderEvent extends EventObject
Event for notifying listeners that a model has been added or removed by the TLcdDAFIFLoader.
See Also:
  • Field Details

    • MODEL_ADDED

      public static final int MODEL_ADDED
      ID used to describe the addition of a DAFIF model.
      See Also:
    • MODEL_REMOVED

      public static final int MODEL_REMOVED
      ID used to describe the removal of a DAFIF model.
      See Also:
  • Constructor Details

    • TLcdDAFIFLoaderEvent

      public TLcdDAFIFLoaderEvent(Object aSource, int aID, String aType, String aRegion, ILcdModel aModel)
      Creates a new event.
      Parameters:
      aSource - Object from which the event originates.
      aID - Event ID (MODEL_ADDED or MODEL_REMOVED).
      aType - DAFIF Type name (Aerodrome, Airspace, ...).
      aRegion - The ICAO Region coder (EB, ED, LF, ...).
      aModel - Model being added or removed.
    • TLcdDAFIFLoaderEvent

      public TLcdDAFIFLoaderEvent(Object aSource, int aID, String aType, String aRegion, ILcdModel aModel, boolean aInvalidateView)
      Creates a new event.
      Parameters:
      aSource - Object from which the event originates.
      aID - Event ID (MODEL_ADDED or MODEL_REMOVED).
      aType - DAFIF Type name (Aerodrome, Airspace, ...).
      aRegion - The ICAO Region code (EB, ED, LF, ...).
      aModel - Model being added or removed.
      aInvalidateView - indicates whether this event should cause an invalidation of the map on which the DAFIF data is viewed
  • Method Details

    • getID

      public int getID()
      Returns the ID of this event (one of MODEL_ADDED or MODEL_REMOVED).
      Returns:
      the ID of this event
    • getModel

      public ILcdModel getModel()
      Returns the model whose addition or removal caused this event.
      Returns:
      an ILcdModel
    • getType

      public String getType()
      Returns the DAFIF type name for which this event describes an update.
      Returns:
      a DAFIF type name (e.g. Aerodrome, Airspace, ...)
    • getICAORegion

      public String getICAORegion()
      Returns the ICAO region for which this event describes an update.
      Returns:
      an ICAO region code
    • isInvalidateView

      public boolean isInvalidateView()
      Specifies whether or not any views of the DAFIF data should be updated in response to this event.
      Returns:
      true if any views of the DAFIF data should be invalidated