Skip to main content

Class: Gdu460CnsDataBarItemManager

A manager that keeps track of the items to render and display on a GDU 460 CNS data bar.

Constructors

constructor

new Gdu460CnsDataBarItemManager(uiService, displaySettingManager, dataBarSettingManager, options): Gdu460CnsDataBarItemManager

Creates a new instance of Gdu460CnsDataBarItemManager.

Parameters

NameTypeDescription
uiServiceUiServiceThe UI service.
displaySettingManagerUserSettingManager<DisplayUserSettingTypes>A manager for display user settings.
dataBarSettingManagerUserSettingManager<CnsDataBarUserSettingTypes>A manager for CNS data bar user settings.
optionsReadonly<Gdu460CnsDataBarItemManagerOptions>Options with which to configure the manager.

Returns

Gdu460CnsDataBarItemManager

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/GduDisplay/Gdu460/CnsDataBar/Gdu460CnsDataBarItemManager.ts:171

Properties

leftItems

Readonly leftItems: SubscribableArray<Readonly<CnsDataBarItemData>>

The CNS data bar items to render on the left side.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/GduDisplay/Gdu460/CnsDataBar/Gdu460CnsDataBarItemManager.ts:142


maxDataFieldCount

Readonly maxDataFieldCount: Subscribable<number>

The maximum number of nav data fields that can be displayed on the CNS data bar given the currently rendered data bar items.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/GduDisplay/Gdu460/CnsDataBar/Gdu460CnsDataBarItemManager.ts:153


rightItems

Readonly rightItems: SubscribableArray<Readonly<CnsDataBarItemData>>

The CNS data bar items to render on the right side.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/GduDisplay/Gdu460/CnsDataBar/Gdu460CnsDataBarItemManager.ts:146

Methods

destroy

destroy(): void

Destroys this manager. Once destroyed, the manager will no longer automatically keep track of items to render and display.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/GduDisplay/Gdu460/CnsDataBar/Gdu460CnsDataBarItemManager.ts:627