com.dlsc.flexgantt.model.calendar

## Class CalendarModelEvent

- java.lang.Object
- - java.util.EventObject
  - - com.dlsc.flexgantt.model.calendar.CalendarModelEvent

- All Implemented Interfaces:
    Serializable

      public class CalendarModelEvent
      extends EventObject

  An event object used in combination with the `ICalendarModelListener` interface. The event object stores the source of the event.
  Since:
    1.0
  Version:
    $Revision: 1.4 $
  Author:
    Dirk Lemmermann
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class java.util.EventObject

      `source`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CalendarModelEvent(ICalendarModel model)` Constructs a new calendar model event.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ICalendarModel` | `getCalendarModel()` Returns the source of the event.

    - ### Methods inherited from class java.util.EventObject

      `getSource, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### CalendarModelEvent

          public CalendarModelEvent(ICalendarModel model)

      Constructs a new calendar model event.
      Parameters:
        `model` - the calendar model where a change occured
      Since:
        1.0

  - ### Method Detail

    - #### getCalendarModel

          public ICalendarModel getCalendarModel()

      Returns the source of the event. This is a convenience method that delegates to `EventObject.getSource()`.
      Returns:
        the calendar model source of the event
      Since:
        1.0

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