Options
All
  • Public
  • Public/Protected
  • All
Menu

An add-on interface that needs to be implemented by any activity that can be edited interactively by the user.

since

1.0

Hierarchy

Implemented by

Index

Methods

getEndTime

  • getEndTime(): number
  • The end time of the activity.

    since

    1.0

    Returns number

    the activity end time

getId

  • getId(): string
  • The unique id of the activity.

    since

    1.0

    Returns string

    the unique activity ID

getName

  • getName(): string
  • The name of the activity, for example "Flight 3441".

    since

    1.0

    Returns string

    the name of the activity

getStartTime

  • getStartTime(): number
  • The start time of the activity.

    since

    1.0

    Returns number

    the activity start time

setEndTime

  • setEndTime(time: number): void
  • Sets a new end time on the activity.

    since

    1.0

    Parameters

    • time: number

      the new end time

    Returns void

setName

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

    since

    1.0

    Parameters

    • name: string

      the new name of the activity

    Returns void

setStartTime

  • setStartTime(time: number): void
  • Sets a new start time on the activity.

    since

    1.0

    Parameters

    • time: number

      the new start time

    Returns void