## Uses of Interface
com.dlsc.flexgantt.policy.IPolicy

- Packages that use IPolicy
  Package | Description
  --- | ---
  com.dlsc.flexgantt.policy | Contains interfaces and classes shared by the policy child packages and a policy provider used by various FlexGantt components to look up policy implementations.
  com.dlsc.flexgantt.policy.dateline | Policies that will be used in the context of a dateline.
  com.dlsc.flexgantt.policy.eventline | Policies that will be used in the context of an eventline.
  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.policy.treetable | Policies that will be used in the context of a tree table

- - ### Uses of IPolicy in com.dlsc.flexgantt.policy

    Classes in com.dlsc.flexgantt.policy that implement IPolicy
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractPolicy` All policies are subclasses of this abstract policy implementation.

    Methods in com.dlsc.flexgantt.policy with type parameters of type IPolicy
    Modifier and Type | Method and Description
    --- | ---
    `<T extends IPolicy> T` | PolicyProvider.`getPolicy(Class<T> policyType)`
    `<T extends IPolicy> T` | IPolicyProvider.`getPolicy(Class<T> policyType)` Returns a policy implementation for the given policy type (policy interface).
    `<T extends IPolicy> void` | PolicyProvider.`setPolicy(Class<T> policyType, T policy)`
    `<T extends IPolicy> void` | IPolicyProvider.`setPolicy(Class<T> policyType, T policyImpl)` Registers a policy implementation for the given policy type (policy interface).

    Methods in com.dlsc.flexgantt.policy that return IPolicy
    Modifier and Type | Method and Description
    --- | ---
    `IPolicy` | PolicyProviderEvent.`getPolicyImpl()` Returns the new policy implementation.

    Methods in com.dlsc.flexgantt.policy that return types with arguments of type IPolicy
    Modifier and Type | Method and Description
    --- | ---
    `Class<? extends IPolicy>` | PolicyProviderEvent.`getPolicyType()` Returns the type of the changed policy.

    Constructors in com.dlsc.flexgantt.policy with parameters of type IPolicy
    Constructor and Description
    `PolicyProviderEvent(IPolicyProvider pp, PolicyProviderEvent.ID id, Class<? extends IPolicy> policyType, IPolicy policyImpl)` Constructs a new policy provider event.

    Constructor parameters in com.dlsc.flexgantt.policy with type arguments of type IPolicy
    Constructor and Description
    `PolicyProviderEvent(IPolicyProvider pp, PolicyProviderEvent.ID id, Class<? extends IPolicy> policyType, IPolicy policyImpl)` Constructs a new policy provider event.

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

    Subinterfaces of IPolicy in com.dlsc.flexgantt.policy.dateline
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `IZoomPolicy<T extends IGranularity>` A policy interface used in the context of the `Dateline`.

    Classes in com.dlsc.flexgantt.policy.dateline that implement IPolicy
    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.
    `class` | `SimpleGranularityZoomPolicy` An implementation of the zoom policy that gets used when using the `SimpleGranularity` concept.
    `class` | `TimeGranularityZoomPolicy` An implementation of the zoom policy that gets used when using the `TimeGranularity` concept.

  - ### Uses of IPolicy in com.dlsc.flexgantt.policy.eventline

    Subinterfaces of IPolicy in com.dlsc.flexgantt.policy.eventline
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `IEditEventlineObjectPolicy` A policy that is used for making various decisions regarding the editing behaviour of eventline objects.
    `interface` | `IEventlineLabelPolicy` A policy for looking up different types of labels for the `Eventline` and the eventline objects inside of it.
    `interface` | `IEventlineSelectionPolicy` A policy used for determining whether an object displayed in the `Eventline` can be selected by the user or not.

    Classes in com.dlsc.flexgantt.policy.eventline that implement IPolicy
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultEditEventlineObjectPolicy` The default implementation of the `IEditEventlineObjectPolicy` works in combination with the `DefaultEventlineModel` and eventline objects that implement the `IEventlineObject` interface.
    `class` | `DefaultEventlineLabelPolicy` The default implementation of `IEventlineLabelPolicy` works in combination with eventline objects that implement the `IEventlineObject` interface.
    `class` | `DefaultEventlineSelectionPolicy` A policy used for determining whether an object displayed in the `Eventline` can be selected by the user or not.

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

    Subinterfaces of IPolicy in com.dlsc.flexgantt.policy.gantt
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `IStatusBarPolicy` A policy that is used to provide the information shown in the status bar.

    Classes in com.dlsc.flexgantt.policy.gantt that implement IPolicy
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractStatusBarPolicy` An abstract implementation of the status bar policy, which provides support for handling the list of visible status bar fields.
    `class` | `SimpleGranularityStatusBarPolicy` An implementation of the status bar policy used in situations where the dateline model is an instance of `SimpleGranularityDatelineModel`.
    `class` | `TimeGranularityStatusBarPolicy` An implementation of the status bar policy used in situations where the dateline model is an instance of `TimeGranularityDatelineModel`.

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

    Subinterfaces of IPolicy in com.dlsc.flexgantt.policy.layer
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ICrosshairPolicy` A policy used for the crosshair feature.
    `interface` | `IDragAndDropPolicy` A policy used in the context of drag & drop operations related to timeline objects.
    `interface` | `IDragInfoPolicy` A policy used by the drag layer to display information to the user about the current drag location (which is a possible drop candidate).
    `interface` | `IEditActivityObjectPolicy` A policy that is used for making decisions regarding the editing behaviour of activity objects.
    `interface` | `IEditCapacityObjectPolicy` A policy that is used for making decisions regarding the editing behaviour of capacity objects.
    `interface` | `IEditLayerPolicy` A policy used to control which layers can be deleted and which commands will be used to remove or add a layer.
    `interface` | `IEditTimelineObjectPolicy` A policy that is used for making various decisions regarding the editing behaviour of timeline objects.
    `interface` | `IGridLinePolicy` The grid line policy controls the behaviour of the major and minor grid lines.
    `interface` | `IGridPolicy<T extends IGranularity>` A policy for dealing with a virtual grid.
    `interface` | `ILabelPolicy` A policy for looking up labels used in various places.
    `interface` | `ILinePolicy` A policy that can be used to create lines for timeline objects within the row of a node (nested rows, inner rows).
    `interface` | `IOverviewPolicy` A policy that is used by the `OverviewPalette` to color timeline objects based on their status or to mark timeline objects that require special attention.
    `interface` | `IPopupPolicy` A policy that returns a popup object that can be used by some mechanism to display additional information about a timeline object or a tree node.
    `interface` | `IRelationshipPolicy` A policy that supports the creation of relationships between timeline objects.
    `interface` | `ISelectionPolicy` A policy that is used to determine whether timeline objects, relationships, or time spans can be selected or not.
    `interface` | `ISpreadsheetEditPolicy` A policy used in the context of editing spreadsheets.

    Classes in com.dlsc.flexgantt.policy.layer that implement IPolicy
    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.
    `class` | `DefaultConstraintPolicy` The default implementation of the `IRelationshipPolicy` allows all timeline objects to be linked with each other and returns a `DefaultCreateRelationshipCommand` command object for performing the actual linking.
    `class` | `DefaultCrosshairPolicy` The default implementation of the crosshair policy displays the following information in the four corners of the crosshair: UPPER_LEFT: the time span of the timeline object on which the crosshair cursor is hovering (if there is one, blank otherwise) UPPER_RIGHT: the time at the current crosshair cursor position LOWER_LEFT: the name of the timeline object on which the crosshair cursor is hovering (if there is one, blank otherwise) LOWER_RIGHT: the name of the hierarchy node that belongs to the row over which the crosshair cursor is hovering For a more general description of this policy please refer to the policy interface `ICrosshairPolicy`.
    `class` | `DefaultDragAndDropPolicy` The default implmementation of the drag & drop policy.
    `class` | `DefaultDragInfoPolicy` The default implementation of the drag info policy will simply create a string that contains the time span passed to the policy.
    `class` | `DefaultEditActivityObjectPolicy` The default implmementation of edit policy for activity objects.
    `class` | `DefaultEditCapacityObjectPolicy` The default implmementation of the edit policy for capacity objects.
    `class` | `DefaultEditLayerPolicy` The default implementation of the edit policy for layers, which assumes that the layers to add or remove are instances of `Layer`.
    `class` | `DefaultEditTimelineObjectPolicy` The default implmementation of the edit policy for timeline objects.
    `class` | `DefaultGridLinePolicy` The default implmementation of the grid line policy.
    `class` | `DefaultLabelPolicy` The default implmementation of the label policy.
    `class` | `DefaultLinePolicy` The default implementation of the line policy delegates all of its method invocations to the nodes and timeline objects that get passed to it as parameters.
    `class` | `DefaultOverviewPolicy` The default implementation of the overview policy.
    `class` | `DefaultPopupPolicy` The default implementation of `IPopupPolicy`.
    `class` | `DefaultRelationshipPolicy` The default implementation of the `IRelationshipPolicy` allows all timeline objects to be linked with each other and returns a `DefaultCreateRelationshipCommand` command object for performing the actual linking.
    `class` | `DefaultSelectionPolicy` The default implmementation of selection policy.
    `class` | `DefaultSpreadsheetEditPolicy` The default implmementation of the edit policy for spreadsheets.
    `class` | `SimpleGranularityGridPolicy` A grid policy that uses the `SimpleGranularity` class to adjust start and end times.
    `class` | `TimeGranularityDragInfoPolicy` A drag info policy that is being used when the currently used dateline model is an instance of `TimeGranularityDatelineModel`.
    `class` | `TimeGranularityGridLinePolicy` A specialization of the default grid line policy for situations where the `TimeGranularityDatelineModel` gets used by the dateline.
    `class` | `TimeGranularityGridPolicy` A grid policy that uses the `TimeGranularity` class to adjust start and end times.

  - ### Uses of IPolicy in com.dlsc.flexgantt.policy.treetable

    Subinterfaces of IPolicy in com.dlsc.flexgantt.policy.treetable
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `INodeDragAndDropPolicy` A policy used for controlling the drag & drop operations within the tree table.
    `interface` | `INodeEditPolicy` A policy for specifying the editing capabilities within the tree table.
    `interface` | `IRowPolicy` A policy for controlling the behaviour of the rows in a tree table.

    Classes in com.dlsc.flexgantt.policy.treetable that implement IPolicy
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultNodeDragAndDropPolicy` The default implementation of the drag and drop policy for tree table nodes.
    `class` | `DefaultNodeEditPolicy` The default implementation of the edit policy for tree table nodes.
    `class` | `DefaultRowPolicy` The default implementation of the row policy.

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