## Uses of Interface
com.dlsc.flexgantt.model.eventline.IEventlineModel

- Packages that use IEventlineModel
  Package | Description
  --- | ---
  com.dlsc.flexgantt.model.eventline | Model definition and default implementation for an eventline model.
  com.dlsc.flexgantt.policy.eventline | Policies that will be used in the context of an eventline.
  com.dlsc.flexgantt.swing.timeline | Contains the timeline component, which itself consists of a dateline and an eventline.

- - ### Uses of IEventlineModel in com.dlsc.flexgantt.model.eventline

    Classes in com.dlsc.flexgantt.model.eventline that implement IEventlineModel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultEventlineModel<T extends IEventlineObject>` A default implementation of the eventline model that internally manages instances of `IEventlineObject` in a `ArrayList`.

    Methods in com.dlsc.flexgantt.model.eventline that return IEventlineModel
    Modifier and Type | Method and Description
    --- | ---
    `IEventlineModel` | EventlineModelEvent.`getModel()` Returns the eventline model from which the event originated.

    Constructors in com.dlsc.flexgantt.model.eventline with parameters of type IEventlineModel
    Constructor and Description
    `EventlineModelEvent(IEventlineModel model, EventlineModelEvent.ID id)` Constructs a new event object.
    `EventlineModelEvent(IEventlineModel model, EventlineModelEvent.ID id, Object eventlineObject)` Constructs a new event object.
    `EventlineModelEvent(IEventlineModel model, EventlineModelEvent.ID id, Object[] eventlineObjects)` Constructs a new event object.

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

    Methods in com.dlsc.flexgantt.policy.eventline with parameters of type IEventlineModel
    Modifier and Type | Method and Description
    --- | ---
    `ICommand` | DefaultEditEventlineObjectPolicy.`getChangeTimeSpanCommand(Object eventlineObject, IEventlineModel model, ITimeSpan span)`
    `ICommand` | IEditEventlineObjectPolicy.`getChangeTimeSpanCommand(Object eventlineObject, IEventlineModel model, ITimeSpan span)` Returns a command object that will perform the actual change of the eventline object's time span.
    `ICommand` | DefaultEditEventlineObjectPolicy.`getCreateCommand(IEventlineModel model, ITimeSpan span)`
    `ICommand` | IEditEventlineObjectPolicy.`getCreateCommand(IEventlineModel model, ITimeSpan span)` Returns a command object that will perform the actual creating of a new eventline object.
    `ICommand` | DefaultEditEventlineObjectPolicy.`getDeleteCommand(Collection<Object> eventlineObjects, IEventlineModel model)`
    `ICommand` | IEditEventlineObjectPolicy.`getDeleteCommand(Collection<Object> eventlineObjects, IEventlineModel model)` Returns a command object that will perform the actual deletion of the eventline objects.
    `String` | DefaultEventlineLabelPolicy.`getLabel(Object eventlineObject, IEventlineModel model, LabelType type)`
    `String` | IEventlineLabelPolicy.`getLabel(Object eventlineObject, IEventlineModel model, LabelType type)` Returns labels for various purposes based on the given label type ID.
    `boolean` | DefaultEditEventlineObjectPolicy.`isCreatable(IEventlineModel model, ITimeSpan span)`
    `boolean` | IEditEventlineObjectPolicy.`isCreatable(IEventlineModel model, ITimeSpan span)` Decides whether an eventline object may be created for the given model and with the given time span.
    `boolean` | DefaultEditEventlineObjectPolicy.`isDeletable(Object eventlineObject, IEventlineModel model)`
    `boolean` | IEditEventlineObjectPolicy.`isDeletable(Object eventlineObject, IEventlineModel model)` Decides whether the eventline object may be deleted.
    `boolean` | DefaultEditEventlineObjectPolicy.`isDurationChangeable(Object eventlineObject, IEventlineModel model)`
    `boolean` | IEditEventlineObjectPolicy.`isDurationChangeable(Object eventlineObject, IEventlineModel model)` Decides whether the duration of an eventline object may be edited / changed.
    `boolean` | DefaultEventlineSelectionPolicy.`isSelectable(Object eventlineObject, IEventlineModel model)`
    `boolean` | IEventlineSelectionPolicy.`isSelectable(Object eventlineObject, IEventlineModel model)` Determines whether the given eventline object is user selectable or not.
    `boolean` | DefaultEditEventlineObjectPolicy.`isStartTimeChangeable(Object eventlineObject, IEventlineModel model)`
    `boolean` | IEditEventlineObjectPolicy.`isStartTimeChangeable(Object eventlineObject, IEventlineModel model)` Decides whether the start time of an eventline object may be edited / changed.

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

    Methods in com.dlsc.flexgantt.swing.timeline that return IEventlineModel
    Modifier and Type | Method and Description
    --- | ---
    `protected IEventlineModel` | DefaultEventlineObjectRenderer.`getModel()` Returns the eventline model that returned the eventline object currently being painted.
    `IEventlineModel` | Eventline.`getModel()` Returns the model used by the eventline.

    Methods in com.dlsc.flexgantt.swing.timeline with parameters of type IEventlineModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | Eventline.`setModel(IEventlineModel model)` Sets a new eventline model on the eventline.

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