Options
All
  • Public
  • Public/Protected
  • All
Menu

An abstract base implementation of an activity repository that implements the Calendar interface.

since

1.0

Type parameters

Hierarchy

Implements

Index

Methods

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)

getName

  • getName(): string
  • Returns the name of the calendar. The name might be displayed by the UI (e.g. in a context menu).

    since

    1.0

    Returns string

isVisible

  • isVisible(): boolean
  • Returns the visibility flag of the calendar. Calendars can be shown / hidden by the user.

    since

    1.0

    Returns boolean

setName

  • setName(name: string): void
  • Sets the the name of the calendar.

    since

    1.0

    Parameters

    • name: string

      the calendar name

    Returns void

setVisible

  • setVisible(visible: boolean): void
  • Sets the visibility flag of the calendar. Calendars can be shown / hidden by the user.

    since

    1.0

    Parameters

    • visible: boolean

      visibility flag of the calendar

    Returns void