Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

Implements

Index

Methods

Abstract addActivity

  • Adds the given activity to the repository.

    since

    1.0

    Parameters

    Returns void

Abstract clearActivities

  • clearActivities(layer?: Layer): void
  • Removes the activities on the given layer from the repository. If no layer is provided, removes all activities from all layers from the repository

    since

    1.0

    Parameters

    • Optional layer: Layer

      the layer to clear or nothing to clear all activities

    Returns void

Abstract getActivities

  • getActivities(layer: Layer, startTime: number, endTine: number, temporalUnit: TemporalUnit, zoneId: ZoneId): A[]

getEarliestTimeUsed

  • getEarliestTimeUsed(): number
  • Returns the earliest time used by the activities stored in this repository / on this row. This method gets used for navigation (e.g. "scroll to earliest time used in the Gantt chart", "zoom out to show all activities").

    since

    1.0

    Returns number

    the earliest time used by the activities in this repository / row (null if no activities found)

getLatestTimeUsed

  • getLatestTimeUsed(): number
  • Returns the latest time used by the activities stored in this repository / on this row. This method gets used for navigation (e.g. "scroll to latest time used in the Gantt chart", "zoom out to show all activities").

    since

    1.0

    Returns number

    the latest time used by the activities in this repository / row (null if no activities found)

registerRepositoryEventCallback

Abstract removeActivity

  • Removes the given activity from the repository.

    since

    1.0

    Parameters

    Returns void