ScheduleItem

open inner class ScheduleItem(val name: String = "Item:", val startTime: Double, val duration: Double, val priority: Int = itemStartEventPriority, val message: String? = null, val datum: Double? = null) : Comparable<Schedule.ScheduleItem> (source)

A ScheduleItem represents an item on a Schedule. It has a start time, relative to the start of the Schedule and a duration. If more than one schedule item needs to start at the same time, then a priority can be provided to determine the ordering (i.e. the smallest priority goes first).

Parameters

a general message or other object that can be associated with the ScheduleItem

Constructors

Link copied to clipboard
constructor(name: String = "Item:", startTime: Double, duration: Double, priority: Int = itemStartEventPriority, message: String? = null, datum: Double? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun compareTo(other: Schedule.ScheduleItem): Int

Returns a negative integer, zero, or a positive integer if this object is less than, equal to, or greater than the specified object.

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String