Interface ILcdLayeredListener

All Superinterfaces:
EventListener, Serializable
All Known Subinterfaces:
ILcdDAFIFLoaderViewAdapter
All Known Implementing Classes:
ALcdWeakLayeredListener, TLcdDAFIFLoaderViewAdapter

public interface ILcdLayeredListener extends EventListener, Serializable
ILcdLayeredListener is the listener interface for TLcdLayeredEvent.
See Also:
  • Method Details

    • layeredStateChanged

      void layeredStateChanged(TLcdLayeredEvent e)
      Notify this ILcdLayeredListener that the state of an ILcdLayered has changed.
    • onLayerAdded

      static ILcdLayeredListener onLayerAdded(Consumer<ILcdLayer> aLayerConsumer)
      Utility method to create a new ILcdLayeredListener which will trigger aLayerConsumer whenever a layer has been added. Other events are ignored.
      Parameters:
      aLayerConsumer - The consumer of the added layer
      Returns:
      a new ILcdLayeredListener
      Since:
      2019.1
    • onLayerRemoved

      static ILcdLayeredListener onLayerRemoved(Consumer<ILcdLayer> aLayerConsumer)
      Utility method to create a new ILcdLayeredListener which will trigger aLayerConsumer whenever a layer has been removed. Other events are ignored.
      Parameters:
      aLayerConsumer - The consumer of the removed layer
      Returns:
      a new ILcdLayeredListener
      Since:
      2019.1