com.dlsc.flexgantt.swing.layer

## Interface ILayerContainerSelectionModelListener

- All Superinterfaces:
    EventListener
  All Known Implementing Classes:
    LayerContainer

      public interface ILayerContainerSelectionModelListener
      extends EventListener

  A listener for use with `ILayerContainerSelectionModel` instances. The listener will be informed whenever time spans get added or removed from the selection model.
  Since:
    1.0
  Version:
    $Revision: 1.3 $
  Author:
    Dirk Lemmermann
  See Also:
    `ILayerContainerSelectionModel.addLayerContainerSelectionModelListener(ILayerContainerSelectionModelListener)`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `timeSpansAdded(TimeSpanSelectionEvent evt)` Callback method that gets invoked when time spans have been added to the selection model.
    `void` | `timeSpansRemoved(TimeSpanSelectionEvent evt)` Callback method that gets invoked when time spans have been removed from the selection model.

- - ### Method Detail

    - #### timeSpansAdded

          void timeSpansAdded(TimeSpanSelectionEvent evt)

      Callback method that gets invoked when time spans have been added to the selection model.
      Parameters:
        `evt` - an event describing the modification of the selection model
      Since:
        1.0
      See Also:
        `timeSpansRemoved(TimeSpanSelectionEvent)`

    - #### timeSpansRemoved

          void timeSpansRemoved(TimeSpanSelectionEvent evt)

      Callback method that gets invoked when time spans have been removed from the selection model.
      Parameters:
        `evt` - an event describing the modification of the selection model
      Since:
        1.0
      See Also:
        `timeSpansAdded(TimeSpanSelectionEvent)`

Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.