Class: VSpeedBugConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/VSpeedBugConfig.ts:8
A configuration object which defines an airspeed reference V-speed bug.
Implements
ResolvableConfig<(vSpeedGroups) =>G3XVSpeedBugDefinition|undefined>
Constructors
Constructor
new VSpeedBugConfig(
element):VSpeedBugConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/VSpeedBugConfig.ts:21
Creates a new VSpeedBugConfig from a configuration document element.
Parameters
| Parameter | Type | Description |
|---|---|---|
element | Element | A configuration document element. |
Returns
VSpeedBugConfig
Constructor
new VSpeedBugConfig(
name,label):VSpeedBugConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/VSpeedBugConfig.ts:27
Creates a new VSpeedBugConfig using a specified V-speed name and bug label.
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | The name of the V-speed. |
label | string | The label of the V-speed bug. |
Returns
VSpeedBugConfig
Properties
isResolvableConfig
readonlyisResolvableConfig:true=true
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/VSpeedBugConfig.ts:9
Flags this object as a ResolvableConfig.
Implementation of
ResolvableConfig.isResolvableConfig
label
readonlylabel:string
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/VSpeedBugConfig.ts:15
The label of this config's speed bug.
name
readonlyname:string
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/VSpeedBugConfig.ts:12
The name of the reference V-speed associated with this config's speed bug.
Methods
resolve()
resolve(): (
vSpeedDefs) =>undefined|G3XVSpeedBugDefinition
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/PFD/Components/AirspeedIndicator/VSpeedBugConfig.ts:55
Resolves this config to a value.
Returns
This config's resolved value.
(
vSpeedDefs):undefined|G3XVSpeedBugDefinition
Parameters
| Parameter | Type |
|---|---|
vSpeedDefs | readonly VSpeedDefinition[] |
Returns
undefined | G3XVSpeedBugDefinition