## Uses of Interface
com.dlsc.flexgantt.model.gantt.ILayer

- Packages that use ILayer
  Package | Description
  --- | ---
  com.dlsc.flexgantt.command.layer | Contains layer-specific commands.
  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.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.layer.timeline | Classes that deal with timeline layers and the rendering and the selection of timeline objects.

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

    Methods in com.dlsc.flexgantt.command.layer that return ILayer
    Modifier and Type | Method and Description
    --- | ---
    `ILayer` | DefaultAddLayerCommand.`getLayer()` Returns the layer that will be added to the model.
    `ILayer` | DefaultDeleteTimelineObjectCommand.`getLayer()` Returns the layer on which the timeline object gets displayed.
    `ILayer` | AbstractDragAndDropCommand.`getLayer()` Returns the layer on which the timeline object gets displayed.
    `ILayer` | DefaultChangeTimelineObjectTimeSpanCommand.`getLayer()` Returns the layer where the timeline object is located.
    `ILayer` | DefaultCreateTimelineObjectCommand.`getLayer()` Returns the layer on which the timeline object will be displayed.
    `ILayer` | DefaultRemoveLayerCommand.`getLayer()` Returns the layer that will be removed from the model.

    Methods in com.dlsc.flexgantt.command.layer with parameters of type ILayer
    Modifier and Type | Method and Description
    --- | ---
    `void` | DefaultCreateTimelineObjectCommand.`setLayer(ILayer layer)` Sets the layer on which the timeline object will be displayed.

    Constructors in com.dlsc.flexgantt.command.layer with parameters of type ILayer
    Constructor and Description
    `AbstractDragAndDropCommand(IGanttChartNode owner, ILayer layer, DefaultGanttChartModel model, IGanttChartNode newOwner, DefaultGanttChartModel newModel, int dropAction)` Constructs a new command.
    `DefaultAddLayerCommand(ILayer layer, DefaultGanttChartModel model)` Constructs a new command.
    `DefaultChangeTimelineObjectTimeSpanCommand(DefaultGanttChartNode node, ILayer layer, ITimelineObject object, DefaultGanttChartModel model, ITimeSpan span, int dropAction)` Constructs a new command.
    `DefaultCreateTimelineObjectCommand(DefaultGanttChartNode node, DefaultGanttChartModel model, ILayer layer, ITimeSpan timeSpan, int lineIndex)` Constructs a new command.
    `DefaultDeleteTimelineObjectCommand(IGanttChartNode node, ILayer layer, ITimelineObject object, DefaultGanttChartModel model)` Constructs a new command.
    `DefaultDragAndDropCommand(IGanttChartNode owner, ILayer layer, ITimelineObject object, DefaultGanttChartModel model, IGanttChartNode newOwner, DefaultGanttChartModel newModel, long newStartTime, int dropAction)` Constructs a new command.
    `DefaultMultiDragAndDropCommand(IGanttChartNode owner, ILayer layer, ITimelineObject[] timelineObjects, DefaultGanttChartModel model, IGanttChartNode newOwner, DefaultGanttChartModel newModel, int dropAction)` Constructs a new command.
    `DefaultRemoveLayerCommand(ILayer layer, DefaultGanttChartModel model)` Constructs a new command.

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

    Classes in com.dlsc.flexgantt.model.gantt that implement ILayer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Layer` An implementation of the layer interface.

    Methods in com.dlsc.flexgantt.model.gantt that return ILayer
    Modifier and Type | Method and Description
    --- | ---
    `ILayer` | TimelineObjectPath.`getLayer()` Returns the layer on which the timeline object gets displayed.
    `ILayer` | GanttChartModelEvent.`getLayer()` Returns the layer where the event occured.

    Methods in com.dlsc.flexgantt.model.gantt that return types with arguments of type ILayer
    Modifier and Type | Method and Description
    --- | ---
    `Iterator<ILayer>` | IGanttChartModel.`getLayers()` Returns an iterator over the layers used by the model.
    `Iterator<ILayer>` | DefaultGanttChartModel.`getLayers()`

    Methods in com.dlsc.flexgantt.model.gantt with parameters of type ILayer
    Modifier and Type | Method and Description
    --- | ---
    `void` | DefaultGanttChartModel.`addLayer(ILayer layer)` Adds a layer to the model.
    `void` | DefaultGanttChartNode.`addTimelineObject(ILayer layer, S timelineObject)` Adds a timeline object to the node for the given layer.
    `void` | DefaultGanttChartModel.`addTimelineObject(T node, ILayer layer, S timelineObject)` Adds a single timeline object to the timeline of the given tree node.
    `void` | DefaultGanttChartNode.`addTimelineObjects(ILayer layer, Collection<S> timelineObjects)`
    `void` | IGanttChartNode.`addTimelineObjects(ILayer layer, Collection<T> timelineObjects)` Adds a collection of timeline objects to the node.
    `void` | DefaultGanttChartNode.`addTimelineObjects(ILayer layer, S[] timelineObjects)` Adds the timeline objects on the node for the given layer.
    `void` | DefaultGanttChartModel.`addTimelineObjects(T node, ILayer layer, Collection<S> timelineObjects)` Adds a collection of objects to the timeline of the given tree node.
    `void` | IGanttChartNode.`clearTimelineObjects(ILayer layer)` Removes all timeline objects (currently shown on the given layer) from the node.
    `void` | DefaultGanttChartModel.`clearTimelineObjects(ILayer layer)` Removes all timeline objects from the given layer for all nodes.
    `void` | DefaultGanttChartNode.`clearTimelineObjects(ILayer layer)`
    `void` | DefaultGanttChartModel.`clearTimelineObjects(T node, ILayer layer)` Removes all timeline objects from the given tree node and layer.
    `TimelineObjectPath` | DefaultGanttChartModel.`getTimelineObjectPath(T node, S timelineObject, ILayer layer)` Returns a timeline object path for the given node and object.
    `List<T>` | IGanttChartNode.`getTimelineObjects(ILayer layer)` Returns a list of all timeline objects that are associated with the given layer.
    `List<S>` | DefaultGanttChartNode.`getTimelineObjects(ILayer layer)`
    `Iterator<T>` | IGanttChartNode.`getTimelineObjectsIterator(ILayer layer, ITimeSpan span)` Returns an iterator for all timeline objects on the given layer for the given time span.
    `Iterator<S>` | DefaultGanttChartNode.`getTimelineObjectsIterator(ILayer layer, ITimeSpan span)`
    `Iterator<S>` | IGanttChartModel.`getTimelineObjectsIterator(T node, ILayer layer, ITimeSpan span)` Returns an `Iterator` that can be used to iterate over all timeline objects stored on the given node and layer within the given time span.
    `Iterator<S>` | DefaultGanttChartModel.`getTimelineObjectsIterator(T node, ILayer layer, ITimeSpan span)`
    `boolean` | IGanttChartNode.`isTimelineObjectCreatableAt(ITimeSpan span, ILayer layer)` Determines whether a new timeline object can be created for the given time span.
    `boolean` | DefaultGanttChartNode.`isTimelineObjectCreatableAt(ITimeSpan span, ILayer layer)`
    `void` | DefaultGanttChartModel.`removeLayer(ILayer layer)` Removes a layer from the model.
    `void` | DefaultGanttChartNode.`removeTimelineObject(ILayer layer, S timelineObject)` Removes the given timeline object from the node.
    `void` | DefaultGanttChartModel.`removeTimelineObject(T node, ILayer layer, S timelineObject)` Removes a single timeline object from the given node and layer.
    `void` | DefaultGanttChartNode.`removeTimelineObjects(ILayer layer, Collection<S> timelineObjects)`
    `void` | IGanttChartNode.`removeTimelineObjects(ILayer layer, Collection<T> timelineObjects)` Removes a collection of objects from the node.
    `void` | DefaultGanttChartNode.`removeTimelineObjects(ILayer layer, S[] timelineObjects)` Removes the given timeline objects from the node.
    `void` | DefaultGanttChartModel.`removeTimelineObjects(T node, ILayer layer, Collection<S> timelineObjects)` Removes a collection of objects from the given tree node and layer.
    `void` | DefaultGanttChartNode.`setTimelineObject(ILayer layer, S timelineObject)` Sets a single timeline object on the node for the given layer.
    `void` | DefaultGanttChartNode.`setTimelineObjects(ILayer layer, Collection<S> timelineObjects)` Sets the timeline objects on the node for the given layer.
    `void` | DefaultGanttChartNode.`setTimelineObjects(ILayer layer, S[] timelineObjects)` Sets the timeline objects on the node for the given layer.
    `void` | DefaultGanttChartNode.`sortTimelineObjects(ILayer layer)` Sorts the timeline objects that are located on the hierarchy / tree node.
    `void` | DefaultGanttChartNode.`validateTimelineObjectList(ILayer layer)` A debugging method to validate the list used for the given layer.

    Constructors in com.dlsc.flexgantt.model.gantt with parameters of type ILayer
    Constructor and Description
    `GanttChartModelEvent(IGanttChartModel model, GanttChartModelEvent.ID id, ILayer layer)` Constructs a new model event.
    `GanttChartModelEvent(IGanttChartModel model, GanttChartModelEvent.ID id, Object node, ILayer layer, TimelineObjectPath[] timelineObjects)` Constructs a new model event.
    `TimelineObjectPath(Object[] path, T timelineObject, ILayer layer)` Constructs a new timeline object path.
    `TimelineObjectPath(Object singlePath, T timelineObject, ILayer layer)` Constructs a new timeline object path.
    `TimelineObjectPath(TreePath path, T timelineObject, ILayer layer)` Constructs a new timeline object path.

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

    Methods in com.dlsc.flexgantt.policy.layer with parameters of type ILayer
    Modifier and Type | Method and Description
    --- | ---
    `ICommand` | DefaultEditLayerPolicy.`getAddLayerCommand(ILayer layer, IGanttChartModel model)`
    `ICommand` | IEditLayerPolicy.`getAddLayerCommand(ILayer layer, IGanttChartModel model)` Returns the command used to add a layer to a model.
    `ICommand` | DefaultEditTimelineObjectPolicy.`getCreateCommand(Object node, IGanttChartModel model, ILayer layer, ITimeSpan span, int lineIndex)`
    `ICommand` | IEditTimelineObjectPolicy.`getCreateCommand(Object node, IGanttChartModel model, ILayer layer, ITimeSpan span, int lineIndex)` Returns a command object that will perform the creation of a new timeline object.
    `ICommand` | DefaultDragAndDropPolicy.`getDragAndDropCommand(TimelineObjectPath path, IGanttChartModel model, Object newNode, IGanttChartModel newModel, long newStartTime, Object[] timelineObjects, ILayer layer, int dropAction)`
    `ICommand` | IDragAndDropPolicy.`getDragAndDropCommand(TimelineObjectPath path, IGanttChartModel model, Object newNode, IGanttChartModel newModel, long newStartTime, Object[] timelineObjects, ILayer layer, int dropAction)` Returns a command object that will be used to make the necessary modifications to the models when the user dragged several timeline objects from one row to another at the same time.
    `ICommand` | DefaultEditLayerPolicy.`getRemoveLayerCommand(ILayer layer, IGanttChartModel model)`
    `ICommand` | IEditLayerPolicy.`getRemoveLayerCommand(ILayer layer, IGanttChartModel model)` Returns the command used to remove a layer from a model.
    `boolean` | DefaultEditTimelineObjectPolicy.`isCreatable(Object node, IGanttChartModel model, ILayer layer, ITimeSpan span)`
    `boolean` | IEditTimelineObjectPolicy.`isCreatable(Object node, IGanttChartModel model, ILayer layer, ITimeSpan span)` Decides whether a timeline object can be created for the given node, model, and time span.

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

    Methods in com.dlsc.flexgantt.swing that return ILayer
    Modifier and Type | Method and Description
    --- | ---
    `ILayer` | ObjectBounds.`getLayer()` Returns the layer for which the timeline object was returned from the data model.

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

    Methods in com.dlsc.flexgantt.swing.layer that return ILayer
    Modifier and Type | Method and Description
    --- | ---
    `ILayer` | AbstractCustomLayer.`getLayer()` Returns the model layer for which the layer was created.
    `ILayer[]` | LayerContainer.`getLayers()` Returns the layer stack.
    `ILayer[]` | LayerContainer.`getVisibleLayers()` Returns the layer stack of those layers that are currently visible.

    Methods in com.dlsc.flexgantt.swing.layer with parameters of type ILayer
    Modifier and Type | Method and Description
    --- | ---
    `AbstractCustomLayer` | ILayerFactory.`createCustomLayer(LayerContainer lc, ILayer layer)` Creates a new custom layer to be used for rendering custom information.
    `AbstractCustomLayer` | DefaultLayerFactory.`createCustomLayer(LayerContainer lc, ILayer layer)` The default layer factory implementation does not know about any custom layers and will always return a placeholder instance if a layer returned by the Gantt chart model indicates that it is a custom layer.
    `TimelineObjectLayer` | ILayerFactory.`createTimelineLayer(LayerContainer lc, ILayer layer)` Creates a new timeline object layer to be used for rendering timeline objects.
    `TimelineObjectLayer` | DefaultLayerFactory.`createTimelineLayer(LayerContainer lc, ILayer layer)`
    `AbstractCustomLayer` | LayerContainer.`getCustomLayer(ILayer layer)` Returns the customer layer for the given model layer.
    `Icon` | LayerContainer.`getLayerIcon(ILayer layer)` Returns an icon representation for the given layer.
    `int` | LayerContainer.`getLayerIndex(ILayer layer)` Returns the index of the given layer within the layer stack.
    `List<TimelineObjectPath>` | LayerContainer.`getSelectedTimelineObjects(ILayer layer)` Returns all timeline objects that are currently selected on the given timeline layer (independent of whether or not the layer is visible).
    `ITimelineObjectSelectionModel` | LayerContainer.`getSelectionModel(ILayer layer)` Returns the selection model for the given layer.
    `TimelineObjectLayer` | LayerContainer.`getTimelineObjectLayer(ILayer layer)` Returns the timeline object layer for the given model layer.
    `void` | LayerContainer.`hideLayer(ILayer layer)` Hides the layer that belongs to the given model layer.
    `boolean` | LayerContainer.`isLayerVisible(ILayer layer)` Checks whether the given model layer has a visible user interface layer.
    `void` | LayerContainer.`moveBack(ILayer layer)` Moves the given layer backwards causing the layer's timeline objects to be drawn at a later stage than before.
    `void` | LayerContainer.`moveForward(ILayer layer)` Moves the given layer forward causing the layer's timeline objects to be drawn at an earlier stage than before.
    `void` | LayerContainer.`moveToBack(ILayer layer)` Moves the given layer to the back so that the layer will be drawn first and all other layers will be drawn after it / on top of it.
    `void` | LayerContainer.`moveToFront(ILayer layer)` Moves the given layer to the front so that the layer will be drawn last and all other layers will be drawn before it / below it.
    `void` | LayerContainer.`setLayerIcon(ILayer layer, Icon icon)` Sets an icon that will be used to represent the given layer in various user interface components, for example in the `LayerPalette`.
    `void` | LayerContainer.`setSelectionModel(ILayer layer, ITimelineObjectSelectionModel model)` Sets a selection model implementation for the given layer.
    `void` | LayerContainer.`showLayer(ILayer layer)` Ensures that the given layer becomes visible.

    Constructors in com.dlsc.flexgantt.swing.layer with parameters of type ILayer
    Constructor and Description
    `AbstractCustomLayer(LayerContainer lc, ILayer layer)` Constructs a new custom layer.

  - ### Uses of ILayer in com.dlsc.flexgantt.swing.layer.timeline

    Methods in com.dlsc.flexgantt.swing.layer.timeline that return ILayer
    Modifier and Type | Method and Description
    --- | ---
    `ILayer` | DefaultTimelineObjectSelectionModel.`getLayer()` Returns the layer to which the selection model belongs.
    `ILayer` | TimelineObjectLayer.`getLayer()` Returns the model layer visualized by the timeline object layer.

    Constructors in com.dlsc.flexgantt.swing.layer.timeline with parameters of type ILayer
    Constructor and Description
    `DefaultTimelineObjectSelectionModel(ILayer layer)` Constructs a new selection model.
    `TimelineObjectLayer(LayerContainer lc, ILayer layer)` Constructs a new timeline object layer.

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