Class TLcdDAFIFLoaderViewAdapter

java.lang.Object
com.luciad.format.dafif.gui.TLcdDAFIFLoaderViewAdapter
All Implemented Interfaces:
ILcdDAFIFLoaderListener, ILcdDAFIFLoaderViewAdapter, ILcdLayeredListener, Serializable, EventListener

public class TLcdDAFIFLoaderViewAdapter extends Object implements ILcdDAFIFLoaderViewAdapter
This adapter listens to the TLcdDAFIFLoader and adds/removes models to its view when models are added/removed by the TLcdDAFIFLoader.
See Also:
  • Constructor Details

  • Method Details

    • dafifLoaderChanged

      public void dafifLoaderChanged(TLcdDAFIFLoaderEvent aDAFIFLoaderEvent)
      If models are added/removed by the DAFIF Loader, they are added/removed to/from the view. WARNING : this is called from the TLcdDAFIFLoader udpate thread hence view modification should be 'offloaded' in the event queue.
      Specified by:
      dafifLoaderChanged in interface ILcdDAFIFLoaderListener
      Parameters:
      aDAFIFLoaderEvent - The event object.
    • layeredStateChanged

      public void layeredStateChanged(TLcdLayeredEvent event)
      If a LAYER_REMOVED event is received, the model is passed to the DAFIF loader to allow it to check whether it was a DAFIF model and its internal state should be updated.
      Specified by:
      layeredStateChanged in interface ILcdLayeredListener