com.dlsc.flexgantt.swing

## Interface IMessageListener

- All Superinterfaces:
    EventListener
  All Known Implementing Classes:
    ConstraintViolationTableModel, GanttChartStatusBar, MessageTableModel

      public interface IMessageListener
      extends EventListener

  A listener that gets informed when messages have been added or removed from an object (e.g. from an instance of `AbstractGanttChart`).
  Since:
    1.0
  Version:
    $Revision: 1.3 $
  Author:
    Dirk Lemmermann
  See Also:
    `AbstractGanttChart.addMessageListener(IMessageListener)`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `messageAdded(IMessage msg)` Called when a message has been added.
    `void` | `messageRemoved(IMessage msg)` Called when a message has been removed.
    `void` | `messagesCleared()` Called when all messages have been removed.

- - ### Method Detail

    - #### messageAdded

          void messageAdded(IMessage msg)

      Called when a message has been added.
      Parameters:
        `msg` - the added message
      Since:
        1.0

    - #### messageRemoved

          void messageRemoved(IMessage msg)

      Called when a message has been removed.
      Parameters:
        `msg` - the removed message
      Since:
        1.0

    - #### messagesCleared

          void messagesCleared()

      Called when all messages have been removed.
      Since:
        1.0

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