## Uses of Interface
com.dlsc.flexgantt.model.dateline.IDatelineModel

- Packages that use IDatelineModel
  Package | Description
  --- | ---
  com.dlsc.flexgantt.command.dateline | Contains dateline-specific commands.
  com.dlsc.flexgantt.model.calendar | Contains interfaces and classes for modelling a calendar, which can be used to color time spans differently based on calendar entries (holidays, vacation, milestones, ...).
  com.dlsc.flexgantt.model.dateline | Provides a model definition and default implementation for a dateline model.
  com.dlsc.flexgantt.policy.gantt | Policies that will be used in the context of a Gantt chart.
  com.dlsc.flexgantt.policy.layer | Policies that will be used in the context of layers.
  com.dlsc.flexgantt.swing | Contains the Gantt chart components and various other user interface elements that can be used together with the Gantt chart.
  com.dlsc.flexgantt.swing.timeline | Contains the timeline component, which itself consists of a dateline and an eventline.

- - ### Uses of IDatelineModel in com.dlsc.flexgantt.command.dateline

    Constructors in com.dlsc.flexgantt.command.dateline with parameters of type IDatelineModel
    Constructor and Description
    `DefaultChangeTimeZoneCommand(IDatelineModel model, TimeZone timeZone)` Constructs a new command that will change the time zone on the given timeline.

  - ### Uses of IDatelineModel in com.dlsc.flexgantt.model.calendar

    Methods in com.dlsc.flexgantt.model.calendar with parameters of type IDatelineModel
    Modifier and Type | Method and Description
    --- | ---
    `protected List<S>` | TimeGranularityCalendarModel.`calculateEntries(IDatelineModel model, ITimeSpan span)` Performs the actual calculation of the calendar entries that are located within the given time span.
    `Iterator<S>` | TimeGranularityCalendarModel.`getCalendarEntries(IDatelineModel model, ITimeSpan span)`
    `Iterator<S>` | ICalendarModel.`getCalendarEntries(IDatelineModel model, ITimeSpan span)` Returns an iterator for iterating over all calendar entries within the given time span.
    `Iterator<S>` | TimeGranularityCalendarModel.`getCalendarEntries(IDatelineModel model, T node, ITimeSpan span)`
    `Iterator<S>` | ICalendarModel.`getCalendarEntries(IDatelineModel model, T node, ITimeSpan span)` Returns an iterator for iterating over all calendar entries of the given node within the given time span.

  - ### Uses of IDatelineModel in com.dlsc.flexgantt.model.dateline

    Classes in com.dlsc.flexgantt.model.dateline that implement IDatelineModel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractDatelineModel<T extends IGranularity>` An abstract implementation of `IDatelineModel` that contains the most basic functionality shared by most dateline models.

    Methods in com.dlsc.flexgantt.model.dateline that return IDatelineModel
    Modifier and Type | Method and Description
    --- | ---
    `IDatelineModel` | DatelineModelEvent.`getModel()` Returns the dateline model that was the source of the event.

    Constructors in com.dlsc.flexgantt.model.dateline with parameters of type IDatelineModel
    Constructor and Description
    `DatelineModelEvent(IDatelineModel model, DatelineModelEvent.ID id)` Constructs a new dateline model event.
    `DatelineModelEvent(IDatelineModel model, DatelineModelEvent.ID id, ITimeSpan requestedVisibleTimeSpan)` Constructs a new dateline model event.

  - ### Uses of IDatelineModel in com.dlsc.flexgantt.policy.gantt

    Methods in com.dlsc.flexgantt.policy.gantt with parameters of type IDatelineModel
    Modifier and Type | Method and Description
    --- | ---
    `String` | TimeGranularityStatusBarPolicy.`getTimeNowString(IDatelineModel model, long time)`
    `String` | IStatusBarPolicy.`getTimeNowString(IDatelineModel model, long time)` Returns a string representing the given time point, which represents time now.
    `String` | SimpleGranularityStatusBarPolicy.`getTimeNowString(IDatelineModel model, long time)`
    `String` | TimeGranularityStatusBarPolicy.`getTimeSpanString(IDatelineModel model, ITimeSpan span)`
    `String` | IStatusBarPolicy.`getTimeSpanString(IDatelineModel model, ITimeSpan span)` Returns a string representing the given time span.
    `String` | SimpleGranularityStatusBarPolicy.`getTimeSpanString(IDatelineModel model, ITimeSpan span)`
    `String` | TimeGranularityStatusBarPolicy.`getTimeString(IDatelineModel model, long time)`
    `String` | IStatusBarPolicy.`getTimeString(IDatelineModel model, long time)` Returns a string representing the given time point.
    `String` | SimpleGranularityStatusBarPolicy.`getTimeString(IDatelineModel model, long time)`

  - ### Uses of IDatelineModel in com.dlsc.flexgantt.policy.layer

    Methods in com.dlsc.flexgantt.policy.layer with parameters of type IDatelineModel
    Modifier and Type | Method and Description
    --- | ---
    `Object` | TimeGranularityDragInfoPolicy.`getDragInfo(TimelineObjectPath path, IGanttChartModel model, IDatelineModel<?> datelineModel, Object dropNode, ITimeSpan dropSpan)`
    `Object` | IDragInfoPolicy.`getDragInfo(TimelineObjectPath path, IGanttChartModel model, IDatelineModel<?> datelineModel, Object dropNode, ITimeSpan dropSpan)` Returns an object that can be used to show information during a drag operation (e.g. time span over which the dragged timeline object hovers).
    `Object` | DefaultDragInfoPolicy.`getDragInfo(TimelineObjectPath path, IGanttChartModel model, IDatelineModel<?> datelineModel, Object dropNode, ITimeSpan dropSpan)`
    `long` | SimpleGranularityGridPolicy.`getGridAdjustedEndTime(SimpleGranularity sg, long endTime, IDatelineModel<SimpleGranularity> model, boolean autoGrid)`
    `long` | TimeGranularityGridPolicy.`getGridAdjustedEndTime(TimeGranularity tg, long endTime, IDatelineModel<TimeGranularity> datelineModel, boolean autoGrid)`
    `long` | IGridPolicy.`getGridAdjustedEndTime(T granularity, long unadjustedEndTime, IDatelineModel<T> datelineModel, boolean autoGrid)` Returns a grid adjusted time point for the given unadjusted end time.
    `long` | SimpleGranularityGridPolicy.`getGridAdjustedStartTime(SimpleGranularity sg, long startTime, IDatelineModel<SimpleGranularity> model, boolean autoGrid)`
    `long` | TimeGranularityGridPolicy.`getGridAdjustedStartTime(TimeGranularity tg, long startTime, IDatelineModel<TimeGranularity> datelineModel, boolean autoGrid)`
    `long` | IGridPolicy.`getGridAdjustedStartTime(T granularity, long unadjustedStartTime, IDatelineModel<T> datelineModel, boolean autoGrid)` Returns a grid adjusted time point for the given unadjusted start time.
    `ITimeSpan` | SimpleGranularityGridPolicy.`getGridAdjustedTimeSpan(SimpleGranularity sg, ITimeSpan timeSpan, IDatelineModel<SimpleGranularity> model, boolean autoGrid)`
    `ITimeSpan` | TimeGranularityGridPolicy.`getGridAdjustedTimeSpan(TimeGranularity tg, ITimeSpan timeSpan, IDatelineModel<TimeGranularity> datelineModel, boolean autoGrid)`
    `ITimeSpan` | IGridPolicy.`getGridAdjustedTimeSpan(T granularity, ITimeSpan unadjustedTimeSpan, IDatelineModel<T> datelineModel, boolean autoGrid)` Returns a grid adjusted time span for the given unadjusted time span.
    `boolean` | TimeGranularityGridLinePolicy.`isMajorGridLinesVisible(IDatelineModel datelineModel, GridLineMode mode)`
    `boolean` | IGridLinePolicy.`isMajorGridLinesVisible(IDatelineModel model, GridLineMode mode)` Determines whether the grid lines for the major time units will be shown or not.
    `boolean` | DefaultGridLinePolicy.`isMajorGridLinesVisible(IDatelineModel datelineModel, GridLineMode mode)`
    `boolean` | IGridLinePolicy.`isMinorGridLinesVisible(IDatelineModel model, GridLineMode mode)` Determines whether the grid lines for the minor time units will be shown or not.
    `boolean` | DefaultGridLinePolicy.`isMinorGridLinesVisible(IDatelineModel datelineModel, GridLineMode mode)`

  - ### Uses of IDatelineModel in com.dlsc.flexgantt.swing

    Methods in com.dlsc.flexgantt.swing that return IDatelineModel
    Modifier and Type | Method and Description
    --- | ---
    `IDatelineModel` | AbstractGanttChart.`getDatelineModel()` Returns the dateline model.

  - ### Uses of IDatelineModel in com.dlsc.flexgantt.swing.timeline

    Classes in com.dlsc.flexgantt.swing.timeline with type parameters of type IDatelineModel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractDatelineRenderer<T extends IDatelineModel>` An abstract dateline renderer that provides common functionality for its subclasses.
    `interface` | `IDatelineRenderer<T extends IDatelineModel>` The renderer interface used by the dateline to renderer major and minor time spans.

    Classes in com.dlsc.flexgantt.swing.timeline that implement IDatelineModel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SimpleGranularityDatelineModel` A dateline model implementation based on the `SimpleGranularity` enumerator.
    `class` | `TimeGranularityDatelineModel` A dateline model implementation based on the `TimeGranularity` enumerator.

    Methods in com.dlsc.flexgantt.swing.timeline with type parameters of type IDatelineModel
    Modifier and Type | Method and Description
    --- | ---
    `<T extends IDatelineModel> IDatelineRenderer<T>` | Dateline.`getDatelineRenderer(Class<T> modelClass)` Returns a dateline renderer for the given model type.
    `<T extends IDatelineModel> void` | Dateline.`setDatelineRenderer(Class<T> modelClass, IDatelineRenderer<T> renderer)` Specifies a dateline renderer implementation that will be used to draw the dateline if the dateline's model is of the given model type.

    Methods in com.dlsc.flexgantt.swing.timeline that return IDatelineModel
    Modifier and Type | Method and Description
    --- | ---
    `IDatelineModel` | Dateline.`getModel()` Sets the model used by the dateline to convert time points to coordinates and coordinates to time points.

    Methods in com.dlsc.flexgantt.swing.timeline that return types with arguments of type IDatelineModel
    Modifier and Type | Method and Description
    --- | ---
    `Map<Class<? extends IDatelineModel>,IDatelineRenderer>` | Dateline.`getRendererMap()` Returns the map used to store the mappings between dateline model classes and dateline renderers.

    Methods in com.dlsc.flexgantt.swing.timeline with parameters of type IDatelineModel
    Modifier and Type | Method and Description
    --- | ---
    `protected Color` | AbstractDatelineRenderer.`getCalendarBackground(ICalendarModel calendarModel, IDatelineModel datelineModel, long time)` Returns a background color for the given time point, calendar model and dateline model.
    `protected Color` | AbstractDatelineRenderer.`getCalendarForeground(ICalendarModel calendarModel, IDatelineModel datelineModel, long time)` Returns a foreground color for the given time point, calendar model and dateline model.
    `void` | Dateline.`setModel(IDatelineModel model)` Sets the model used by the dateline to convert time points to coordinates and coordinates to time points.

    Method parameters in com.dlsc.flexgantt.swing.timeline with type arguments of type IDatelineModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | Dateline.`setRendererMap(Map<Class<? extends IDatelineModel>,IDatelineRenderer> map)` Sets the map used to store the mappings between dateline model classes and dateline renderers.

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