Skip to main content

Class: ColorRangeConfig

A configuration object which defines an airspeed tape color range.

Implements

Constructors

constructor

new ColorRangeConfig(element, factory): ColorRangeConfig

Creates a new ColorRangeConfig from a configuration document element.

Parameters

NameTypeDescription
elementElementA configuration document element.
factoryConfigFactoryA configuration object factory to use to create child configuration objects.

Returns

ColorRangeConfig

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/AirspeedIndicator/ColorRangeConfig.ts:28

Properties

color

Readonly color: AirspeedIndicatorColorRangeColor

The color of this config's color range.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/AirspeedIndicator/ColorRangeConfig.ts:15


isResolvableConfig

Readonly isResolvableConfig: true

Flags this object as a ResolvableConfig.

Implementation of

ResolvableConfig.isResolvableConfig

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/AirspeedIndicator/ColorRangeConfig.ts:9


maximum

Readonly maximum: NumericConfig

The config which defines the maximum airspeed value of this config's color range.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/AirspeedIndicator/ColorRangeConfig.ts:21


minimum

Readonly minimum: NumericConfig

The config which defines the minimum airspeed value of this config's color range.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/AirspeedIndicator/ColorRangeConfig.ts:18


width

Readonly width: AirspeedIndicatorColorRangeWidth

The width of this config's color range.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/AirspeedIndicator/ColorRangeConfig.ts:12

Methods

resolve

resolve(): AirspeedIndicatorColorRange

Resolves this config to a value.

Returns

AirspeedIndicatorColorRange

This config's resolved value.

Implementation of

ResolvableConfig.resolve

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/AirspeedIndicator/ColorRangeConfig.ts:93