# Package com.dlsc.flexgantt.model.dateline

Provides a model definition and default implementation for a dateline model.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  IDatelineModel<T extends IGranularity> | A dateline model provides essential information for the dateline, the dateline renderer, the grid layer.
  IDatelineModelListener | An event listener that can be attached to instances of `IDatelineModel`.
  IGranularity<T extends IGranularity> | A granularity describes a time unit (e.g.

- Class Summary
  Class | Description
  --- | ---
  AbstractDatelineModel<T extends IGranularity> | An abstract implementation of `IDatelineModel` that contains the most basic functionality shared by most dateline models.
  DatelineModelEvent | An event object used by dateline models to inform listeners about various changes to the models.
  GridLine | A class that combines a grid coordinate with the corresponding time point at the location.

- Enum Summary
  Enum | Description
  --- | ---
  DatelineModelEvent.ID | An enumerator that contains values used for identifying different types of events.
  DatelineModelException.ID | An enumerater for distinguishing between different types of dateline model veto exceptions.
  GridLine.DstChangeType | An enumerator used to represent the two types of DST change that can happen.
  MarkerType | A list of marker types that can be shown in the dateline or the eventline.
  SimpleGranularity | An enumeration of possible simple granularities.
  TimeGranularity | An enumeration of possible time granularities.

- Exception Summary
  Exception | Description
  --- | ---
  DatelineModelException | The dateline throws exceptions of this type when certain changes to it can not be performed (e.g. the maximum dateline width has been reached).
  DatelineModelVetoException | Dateline model listeners can throw this exception to veto a specific change to the dateline model.

## Package com.dlsc.flexgantt.model.dateline Description

Provides a model definition and default implementation for a dateline model. This model is used by the dateline to convert screen locations into time points and time points into screen locations. It also returns the vertical grid locations and stores information about the time zone that is being displayed by the dateline.

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