Adds the given activity to the repository.
the activity
Removes the activities on the given layer from the repository. If no layer is provided, removes all activities from all layers from the repository
the layer to clear or nothing to clear all activities
Returns an array for iterating over all activities found for the given layer and time interval. This method has to return very fast as it gets called many times during rendering of the chart. A slow implementation will have a direct impact on scrolling / rendering performance.
the layer for which to return the activities
the start time of the time interval for which to return the activities
the end time of the time interval for which to return the activities
the temporal unit currently displayed in the dateline
the timezone currently displayed in the dateline
the activities on the given layer and in the given time interval
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").
the earliest time used by the activities in this repository / row (null if no activities found)
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").
the latest time used by the activities in this repository / row (null if no activities found)
Registers a repository event callback
Removes the given activity from the repository.
the activity
The required interface for a repository that is also mutable (activities can be added and removed).
A - the activity type
1.0