#
Class: TimerDialog#
HierarchyHandle<timerdialog>
↳ TimerDialog
#
Constructors#
constructornew TimerDialog(t: Timer): TimerDialog
#
Parameters:Name | Type |
---|---|
t | Timer |
Returns: TimerDialog
Defined in: handles/timerdialog.ts:6
#
Properties#
handle• Readonly
handle: timerdialog
Defined in: handles/handle.ts:6
#
Accessors#
displaydisplay(): boolean
Returns: boolean
Defined in: handles/timerdialog.ts:15
display(display: boolean): void
#
Parameters:Name | Type |
---|---|
display | boolean |
Returns: void
Defined in: handles/timerdialog.ts:19
#
idid(): number
Get the unique ID of the handle. The ID is recycled once you destroy the object.
Returns: number
The unique ID of a handle object.
Defined in: handles/handle.ts:18
#
Methods#
destroydestroy(): void
Returns: void
Defined in: handles/timerdialog.ts:23
#
setSpeedsetSpeed(speedMultFactor: number): void
#
Parameters:Name | Type |
---|---|
speedMultFactor | number |
Returns: void
Defined in: handles/timerdialog.ts:27
#
setTimeColorsetTimeColor(red: number, green: number, blue: number, alpha: number): void
Sets the timer-dialogs time color.
#
Parameters:Name | Type | Description |
---|---|---|
red | number | An integer from 0-255 determining the amount of red color. |
green | number | An integer from 0-255 determining the amount of red color. |
blue | number | An integer from 0-255 determining the amount of red color. |
alpha | number | An integer from 0-255 determining the amount of red color. |
Returns: void
Defined in: handles/timerdialog.ts:57
#
setTimeRemainingsetTimeRemaining(value: number): void
#
Parameters:Name | Type |
---|---|
value | number |
Returns: void
Defined in: handles/timerdialog.ts:31
#
setTitlesetTitle(title: string): void
#
Parameters:Name | Type |
---|---|
title | string |
Returns: void
Defined in: handles/timerdialog.ts:35
#
setTitleColorsetTitleColor(red: number, green: number, blue: number, alpha: number): void
Sets the timer-dialogs color.
#
Parameters:Name | Type | Description |
---|---|---|
red | number | An integer from 0-255 determining the amount of red color. |
green | number | An integer from 0-255 determining the amount of red color. |
blue | number | An integer from 0-255 determining the amount of red color. |
alpha | number | An integer from 0-255 determining the amount of red color. |
Returns: void
Defined in: handles/timerdialog.ts:46
#
fromHandlestatic fromHandle(handle: timerdialog): TimerDialog
#
Parameters:Name | Type |
---|---|
handle | timerdialog |
Returns: TimerDialog
Defined in: handles/timerdialog.ts:61