Skip to main content

Class: G3XNavDataBarEditController

A controller for G3X Touch navigation data bar editing state.

Constructors

constructor

new G3XNavDataBarEditController(): G3XNavDataBarEditController

Returns

G3XNavDataBarEditController

Properties

editingIndex

Readonly editingIndex: Subscribable<number>

The index of the data field currently being edited, or -1 if there is no such data field.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/CnsDataBar/CnsDataBarFields/G3XNavDataBarEditController.ts:13


isEditingActive

Readonly isEditingActive: Subscribable<boolean>

Whether editing is active.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/CnsDataBar/CnsDataBarFields/G3XNavDataBarEditController.ts:9

Methods

activateEditing

activateEditing(): void

Activates editing.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/CnsDataBar/CnsDataBarFields/G3XNavDataBarEditController.ts:18


deactivateEditing

deactivateEditing(): void

Deactivates editing. This will set the index of the data field being edited to -1.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/CnsDataBar/CnsDataBarFields/G3XNavDataBarEditController.ts:25


setEditingIndex

setEditingIndex(index): void

Sets the index of the data field currently being edited. Has no effect if editing is not active.

Parameters

NameTypeDescription
indexnumberThe index to set, or -1 to set no data field being edited.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/CnsDataBar/CnsDataBarFields/G3XNavDataBarEditController.ts:34