## Uses of Interface
com.dlsc.flexgantt.model.scheduling.IConstraint

- Packages that use IConstraint
  Package | Description
  --- | ---
  com.dlsc.flexgantt.command.layer | Contains layer-specific commands.
  com.dlsc.flexgantt.model.scheduling | Contains supporting classes for basic scheduling operations and constraint resolutions.
  com.dlsc.flexgantt.swing.scheduling | Contains components used for supporting scheduling operations built into FlexGantt.

- - ### Uses of IConstraint in com.dlsc.flexgantt.command.layer

    Methods in com.dlsc.flexgantt.command.layer that return IConstraint
    Modifier and Type | Method and Description
    --- | ---
    `protected IConstraint` | DefaultCreateConstraintCommand.`createConstraint(TimelineObjectPath sourcePath, TimelineObjectPath targetPath)` Creates the constraint object, which stores the source and the target path.
    `IConstraint` | DefaultCreateConstraintCommand.`getConstraint()` The constraint that was created by the command.

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

    Classes in com.dlsc.flexgantt.model.scheduling that implement IConstraint
    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` | `SimpleGranularityConstraint<T>` A constraint that can be used when the `SimpleGranularity` type is used in the dateline of the Gantt chart.
    `class` | `TimeGranularityConstraint<T>` A constraint that can be used when the `TimeGranularity` type is used in the dateline of the Gantt chart.

    Methods in com.dlsc.flexgantt.model.scheduling that return IConstraint
    Modifier and Type | Method and Description
    --- | ---
    `IConstraint` | ConstraintViolationMessage.`getConstraint()` Returns the violated constraint.

    Methods in com.dlsc.flexgantt.model.scheduling with parameters of type IConstraint
    Modifier and Type | Method and Description
    --- | ---
    `protected String` | DefaultModelValidator.`createViolationText(IConstraint con, Violation violation)` Creates a text description of the violation of a constraint.
    `List<IResolution>` | DefaultResolutionProvider.`getResolutions(IConstraint constraint, Violation violation)`
    `List<IResolution>` | IResolutionProvider.`getResolutions(IConstraint constraint, Violation violation)` Returns the available resolutions for the given violated constraint.
    `void` | IResolution.`resolve(LayerContainer lc, IConstraint<?,T> constraint, Violation violation, IModelValidator validator)` Resolves / fixes the violated constraint.
    `void` | DefaultTimeGranularityFixBufferResolution.`resolve(LayerContainer lc, IConstraint<?,TimeGranularity> constraint, Violation violation, IModelValidator validator)`
    `IMessage` | DefaultModelValidator.`validate(IGanttChartModel model, IConstraint con)`
    `IMessage` | IModelValidator.`validate(IGanttChartModel model, IConstraint constraint)` Validates the given single constraint and produce a message.

    Constructors in com.dlsc.flexgantt.model.scheduling with parameters of type IConstraint
    Constructor and Description
    `ConstraintViolationMessage(IConstraint constraint, Violation violation, IModelValidator modelValidator, String text, Object details, TimelineObjectPath path)` Constructs a new constraint violation message.
    `ConstraintViolationMessage(IConstraint constraint, Violation violation, IModelValidator modelValidator, String text, TimelineObjectPath path)` Constructs a new constraint violation message.
    `ConstraintViolationMessage(IConstraint constraint, Violation violation, MessageTypeId id, IModelValidator modelValidator, String text, Date time, TimelineObjectPath path)` Constructs a new constraint violation message.
    `ConstraintViolationMessage(IConstraint constraint, Violation violation, MessageTypeId id, IModelValidator modelValidator, String text, Object details, Date time, TimelineObjectPath path)` Constructs a new constraint violation message.
    `ConstraintViolationMessage(IConstraint constraint, Violation violation, MessageTypeId id, IModelValidator modelValidator, String text, Object details, TimelineObjectPath path)` Constructs a new constraint violation message.
    `ConstraintViolationMessage(IConstraint constraint, Violation violation, MessageTypeId id, IModelValidator modelValidator, String text, TimelineObjectPath path)` Constructs a new constraint violation message.

  - ### Uses of IConstraint in com.dlsc.flexgantt.swing.scheduling

    Methods in com.dlsc.flexgantt.swing.scheduling that return IConstraint
    Modifier and Type | Method and Description
    --- | ---
    `IConstraint` | ConstraintSettingsPanel.`getConstraint()` Returns the constraint that is currently being edited by the user.

    Methods in com.dlsc.flexgantt.swing.scheduling with parameters of type IConstraint
    Modifier and Type | Method and Description
    --- | ---
    `void` | ConstraintSettingsPanel.`setConstraint(IConstraint con)` Sets the constraint that will be edited by the user via the help of the controls in this panel.

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