Skip to main content

Class: ColorRangeConfig

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/Airspeed/ColorRangeConfig.ts:7

A configuration object which defines an airspeed tape color range.

Implements

  • ResolvableConfig<AirspeedIndicatorColorRange>

Constructors

Constructor

new ColorRangeConfig(element, factory): ColorRangeConfig

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/Airspeed/ColorRangeConfig.ts:27

Creates a new ColorRangeConfig from a configuration document element.

Parameters

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

Returns

ColorRangeConfig

Properties

color

readonly color: AirspeedIndicatorColorRangeColor

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/Airspeed/ColorRangeConfig.ts:14

The color of this config's color range.


isResolvableConfig

readonly isResolvableConfig: true = true

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/Airspeed/ColorRangeConfig.ts:8

Flags this object as a ResolvableConfig.

Implementation of

ResolvableConfig.isResolvableConfig


maximum

readonly maximum: NumericConfig

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/Airspeed/ColorRangeConfig.ts:20

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


minimum

readonly minimum: NumericConfig

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/Airspeed/ColorRangeConfig.ts:17

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


width

readonly width: AirspeedIndicatorColorRangeWidth

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/Airspeed/ColorRangeConfig.ts:11

The width of this config's color range.

Methods

resolve()

resolve(): AirspeedIndicatorColorRange

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/Airspeed/ColorRangeConfig.ts:92

Returns

AirspeedIndicatorColorRange

Inherit Doc

Implementation of

ResolvableConfig.resolve