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

- Packages that use IGranularity
  Package | Description
  --- | ---
  com.dlsc.flexgantt.model.bookmarks | Paging models are used to allow the user to quickly change the time span that is displayed by the timeline.
  com.dlsc.flexgantt.model.dateline | Provides a model definition and default implementation for a dateline model.
  com.dlsc.flexgantt.model.gantt | A model definition and default implementation for a Gantt chart model, which is basically an extension of a tree table model, which itself is an extension of a tree model.
  com.dlsc.flexgantt.model.scheduling | Contains supporting classes for basic scheduling operations and constraint resolutions.
  com.dlsc.flexgantt.policy.dateline | Policies that will be used in the context of a dateline.
  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.layer | The right-hand side of any Gantt chart is a layer container, which is responsible for managing the various layer types.
  com.dlsc.flexgantt.swing.timeline | Contains the timeline component, which itself consists of a dateline and an eventline.

- - ### Uses of IGranularity in com.dlsc.flexgantt.model.bookmarks

    Methods in com.dlsc.flexgantt.model.bookmarks that return IGranularity
    Modifier and Type | Method and Description
    --- | ---
    `IGranularity` | Bookmark.`getGranularity()` Returns the time granularity that was shown in the dateline when the bookmark was created.

    Constructors in com.dlsc.flexgantt.model.bookmarks with parameters of type IGranularity
    Constructor and Description
    `Bookmark(long timePoint, ITimeSpan span, IGranularity granularity, String name)` Constructs a new page.

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

    Classes in com.dlsc.flexgantt.model.dateline with type parameters of type IGranularity
    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.
    `interface` | `IDatelineModel<T extends IGranularity>` A dateline model provides essential information for the dateline, the dateline renderer, the grid layer.
    `interface` | `IGranularity<T extends IGranularity>` A granularity describes a time unit (e.g.

    Classes in com.dlsc.flexgantt.model.dateline that implement IGranularity
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SimpleGranularity` An enumeration of possible simple granularities.
    `class` | `TimeGranularity` An enumeration of possible time granularities.

    Fields in com.dlsc.flexgantt.model.dateline declared as IGranularity
    Modifier and Type | Field and Description
    --- | ---
    `protected T` | AbstractDatelineModel.`granularity` Stores the currently used time granularity (e.g. hours, minutes, seconds, ...).

  - ### Uses of IGranularity in com.dlsc.flexgantt.model.gantt

    Methods in com.dlsc.flexgantt.model.gantt that return IGranularity
    Modifier and Type | Method and Description
    --- | ---
    `IGranularity<?>` | Spreadsheet.`getGranularity()`
    `IGranularity` | ISpreadsheet.`getGranularity()` Returns the time granularity used by the spreadsheet, e.g.

    Constructors in com.dlsc.flexgantt.model.gantt with parameters of type IGranularity
    Constructor and Description
    `Spreadsheet(String name, IGranularity<?> granularity, int cellWidth, Class defaultValueType)` Constructs a new spreadsheet.

  - ### Uses of IGranularity in com.dlsc.flexgantt.model.scheduling

    Classes in com.dlsc.flexgantt.model.scheduling with type parameters of type IGranularity
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractConstraint<T,S extends IGranularity>` An abstract constraint superclass, which can be used by both built-in time granularities `SimpleGranularity` and `TimeGranularity`.
    `class` | `AbstractResolution<T extends IGranularity<?>>` An abstract superclass for resolutions.
    `interface` | `IConstraint<T,S extends IGranularity>` A constraint is a specialization of a generic relationship between two timeline objects.
    `interface` | `IResolution<T extends IGranularity<?>>` A resolution if a class that knows how to fix a violated constraint.

  - ### Uses of IGranularity in com.dlsc.flexgantt.policy.dateline

    Classes in com.dlsc.flexgantt.policy.dateline with type parameters of type IGranularity
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractZoomPolicy<T extends IGranularity>` An abstract zoom policy implementation, which allows to specify a list of supported granularities.
    `interface` | `IZoomPolicy<T extends IGranularity>` A policy interface used in the context of the `Dateline`.

    Methods in com.dlsc.flexgantt.policy.dateline with parameters of type IGranularity
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractZoomPolicy.`setGranularities(T[] granularities)` Sets the list of supported granularities.

    Constructors in com.dlsc.flexgantt.policy.dateline with parameters of type IGranularity
    Constructor and Description
    `AbstractZoomPolicy(T[] granularities)` Constructs a new zoom policy.

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

    Classes in com.dlsc.flexgantt.policy.layer with type parameters of type IGranularity
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractGridPolicy<T extends IGranularity>` An abstract implementation of `IGridPolicy`, which deals with storing the list of supported granularities.
    `interface` | `IGridPolicy<T extends IGranularity>` A policy for dealing with a virtual grid.

    Methods in com.dlsc.flexgantt.policy.layer that return IGranularity
    Modifier and Type | Method and Description
    --- | ---
    `T[]` | AbstractGridPolicy.`getGridGranularities()`
    `T[]` | IGridPolicy.`getGridGranularities()` Returns the granularities that will be available for the grid.

    Constructors in com.dlsc.flexgantt.policy.layer with parameters of type IGranularity
    Constructor and Description
    `AbstractGridPolicy(boolean adjustingStartTimes, boolean adjustingEndTimes, T... granularities)` Constructs a new grid policy.
    `AbstractGridPolicy(T... granularities)` Constructs a new grid policy, which adjusts start and end times.

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

    Methods in com.dlsc.flexgantt.swing that return IGranularity
    Modifier and Type | Method and Description
    --- | ---
    `IGranularity` | AbstractGanttChart.`getGranularity()` Returns the granularity used by the dateline.
    `IGranularity` | IGridComponent.`getGridGranularity()` Returns the granularity used by the grid component.

    Methods in com.dlsc.flexgantt.swing with parameters of type IGranularity
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractGanttChart.`setGranularity(IGranularity granularity)` Sets a new granularity.
    `void` | IGridComponent.`setGridGranularity(IGranularity granularity)` Specifies a new granularity to be used by the grid component.

  - ### Uses of IGranularity in com.dlsc.flexgantt.swing.layer

    Methods in com.dlsc.flexgantt.swing.layer that return IGranularity
    Modifier and Type | Method and Description
    --- | ---
    `IGranularity` | LayerContainer.`getGridGranularity()` Returns the granularity used for a virtual grid that gets used during drag & drop operations to make timeline objects snap to specific time points rather than just the current drop location.

    Methods in com.dlsc.flexgantt.swing.layer with parameters of type IGranularity
    Modifier and Type | Method and Description
    --- | ---
    `void` | LayerContainer.`setGridGranularity(IGranularity granularity)` Sets the granularity used for a virtual grid that gets used during drag & drop operations to make timeline objects snap to specific time points rather than just the current drop location.

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

    Classes in com.dlsc.flexgantt.swing.timeline with type parameters of type IGranularity
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractTimelineControlPanel<T extends IGranularity>` A panel used for controlling the time span and the granularity displayed by the timeline.

    Methods in com.dlsc.flexgantt.swing.timeline that return IGranularity
    Modifier and Type | Method and Description
    --- | ---
    `IGranularity` | Timeline.`getCursorGranularity()` Returns the granularity used by the time cursor shown in the eventline.
    `IGranularity` | Dateline.`getGranularity()` Returns the time granularity that the dateline model should use for calculating its minor grid.
    `IGranularity` | Eventline.`getGridGranularity()` Returns the granularity used for a virtual grid that gets used during drag & drop operations to make eventline objects snap to specific time points rather than just the current drop location.

    Methods in com.dlsc.flexgantt.swing.timeline with parameters of type IGranularity
    Modifier and Type | Method and Description
    --- | ---
    `void` | Dateline.`setGranularity(IGranularity granularity)` Specifies the time granularity that the dateline model should use for calculating its minor grid.
    `void` | Eventline.`setGridGranularity(IGranularity granularity)` Sets the granularity used for a virtual grid that gets used during drag & drop operations to make eventline objects snap to specific time points rather than just the current drop location.

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