## Uses of Class
com.dlsc.flexgantt.model.dateline.DatelineModelException

- Packages that use DatelineModelException
  Package | Description
  --- | ---
  com.dlsc.flexgantt.model.dateline | Provides a model definition and default implementation for a dateline model.
  com.dlsc.flexgantt.swing.print | Anything related to printing is contained in this package.
  com.dlsc.flexgantt.swing.timeline | Contains the timeline component, which itself consists of a dateline and an eventline.

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

    Methods in com.dlsc.flexgantt.model.dateline that throw DatelineModelException
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract void` | AbstractDatelineModel.`calculateDatelineWidth()` Calculates the required width of the dateline based on the total time span and some additional information that needs to be provided by the subclasses.
    `void` | IDatelineModel.`requestVisibleTimeSpan(ITimeSpan span)` A request that asks the model to change its settings in such a way that the requested time span will become visible in the viewport on the right-hand side of the Gantt chart.
    `void` | IDatelineModel.`setGranularity(T granularity)` Specifies the time granularity that the dateline model should use for calculating its minor grid.
    `void` | AbstractDatelineModel.`setGranularity(T granularity)` Sets the granularity for the minor times, which will cause a recalculation of the dateline width.
    `void` | IDatelineModel.`setSpreadsheetCellWidth(int width)` Sets the width used for spreadsheet cells.
    `void` | AbstractDatelineModel.`setSpreadsheetCellWidth(int width)` Sets the width used for spreadsheet cells.
    `void` | IDatelineModel.`setTimeSpan(ITimeSpan span)` Sets the total time span covered by the model / dateline.
    `void` | AbstractDatelineModel.`setTimeSpan(ITimeSpan timeSpan)`
    `void` | IDatelineModel.`setTimeZone(TimeZone timeZone)` Sets the time zone represented by the dateline.
    `void` | AbstractDatelineModel.`setTimeZone(TimeZone zone)`
    `void` | IDatelineModel.`setZoom(double zoom)` Sets a zoom factor on the model / dateline.
    `void` | AbstractDatelineModel.`setZoom(double zoom)`

  - ### Uses of DatelineModelException in com.dlsc.flexgantt.swing.print

    Methods in com.dlsc.flexgantt.swing.print that throw DatelineModelException
    Modifier and Type | Method and Description
    --- | ---
    `void` | IPrintManager.`print(JComponent parentComponent, PrintContext ctx, boolean preview)` Invokes the print operation on the manager.

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

    Methods in com.dlsc.flexgantt.swing.timeline that throw DatelineModelException
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | TimeGranularityDatelineModel.`calculateDatelineWidth()`
    `protected void` | SimpleGranularityDatelineModel.`calculateDatelineWidth()`
    `void` | TimeGranularityDatelineModel.`requestVisibleTimeSpan(ITimeSpan span)`
    `void` | SimpleGranularityDatelineModel.`requestVisibleTimeSpan(ITimeSpan span)`
    `void` | TimeGranularityDatelineModel.`setMajorDateFormat(TimeGranularity granularity, DateFormat format)` Sets the date formatter used for the given time granularity, when formatting time in the major part of the dateline (the upper part).
    `void` | TimeGranularityDatelineModel.`setMinorDateFormat(TimeGranularity granularity, DateFormat format)` Sets the date formatter used for the given time granularity, when formatting time in the minor part of the dateline (the lower part).

    Constructors in com.dlsc.flexgantt.swing.timeline that throw DatelineModelException
    Constructor and Description
    `SimpleGranularityDatelineModel(Dateline dateline)` Constructs a new dateline model.
    `SimpleGranularityDatelineModel(Dateline dateline, ITimeSpan timeSpan, SimpleGranularity sg)` Constructs a new dateline model.
    `SimpleGranularityDatelineModel(Dateline dateline, ITimeSpan timeSpan, SimpleGranularity sg, TimeZone timeZone)` Constructs a new dateline model.
    `SimpleGranularityDatelineModel(Dateline dateline, SimpleGranularity sg)` Constructs a new dateline model.
    `TimeGranularityDatelineModel(Dateline dateline)` Constructs a new dateline model.
    `TimeGranularityDatelineModel(Dateline dateline, ITimeSpan timeSpan)` Constructs a new dateline model.
    `TimeGranularityDatelineModel(Dateline dateline, ITimeSpan timeSpan, TimeGranularity tg)` Constructs a new dateline model.
    `TimeGranularityDatelineModel(Dateline dateline, ITimeSpan timeSpan, TimeGranularity tg, TimeZone zone)` Constructs a new dateline model.
    `TimeGranularityDatelineModel(Dateline dateline, ITimeSpan timeSpan, TimeZone zone)` Constructs a new dateline model.

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