Skip to main content

Class: SelectAirwayController

The controller for SelectProcedure views.

Constructors

constructor

new SelectAirwayController(store, selectNextCb, fms, exitSelectControlRef): SelectAirwayController

Creates a Select Airway Controller

Parameters

NameTypeDescription
storeSelectAirwayStoreThe store.
selectNextCb() => voidCallback when the next control should be focused.
fmsFms<any>The FMS instance.
exitSelectControlRefNodeReference<SelectControl<IntersectionFacility>>is the ref for the exit select control.

Returns

SelectAirwayController

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:35

Properties

canLoad

canLoad: Subject<boolean>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:23


emptyListText

emptyListText: Subject<string>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:24


entryIndex

entryIndex: number = -1

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:25


entryIndexSubject

entryIndexSubject: Subject<number>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:26


entrySubject

Readonly entrySubject: Subject<string>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:22


exitSelectControlRef

Readonly exitSelectControlRef: NodeReference<SelectControl<IntersectionFacility>>

is the ref for the exit select control.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:38


fms

Readonly fms: Fms<any>

The FMS instance.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:37


inputIcao

inputIcao: Subject<string>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:21


selectNextCb

Readonly selectNextCb: () => void

Callback when the next control should be focused.

Type declaration

▸ (): void

Callback when the next control should be focused.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:36


store

Readonly store: SelectAirwayStore

The store.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:35

Methods

buildAirwayMenuItem

buildAirwayMenuItem(airway): ContextMenuItemDefinition

Builds an airway menu item.

Parameters

NameTypeDescription
airwaystringThe airway to build the menu item for.

Returns

ContextMenuItemDefinition

A menu item definition.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:130


buildExitMenuItem

buildExitMenuItem(waypoint, index): ContextMenuItemDefinition

Builds an airway exit menu item.

Parameters

NameTypeDescription
waypointIntersectionFacilityThe intersection facility of the exit.
indexnumberThe index of the airway.

Returns

ContextMenuItemDefinition

A menu item definition.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:155


initialize

initialize(): void

Initialize the controller.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:78


onAirwaySelected

onAirwaySelected(index, airway, isRefresh): void

Callback handler for when an airway is selected.

Parameters

NameTypeDescription
indexnumberis the index of the item selected
airwaystringThe airway name selected.
isRefreshbooleanIf select event happened based on a data refresh.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:109


onExitSelected

onExitSelected(index, item, isRefresh): void

Callback handler for when an enroute transition is selected.

Parameters

NameTypeDescription
indexnumberThe index of the selected transition.
itemIntersectionFacilityThe transition selected.
isRefreshbooleanIf select event happened based on a data refresh.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:140


onLoadExecuted

onLoadExecuted(): void

Callback handler for when load is pressed.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:177


onLoadSelected

onLoadSelected(): void

Callback handler for when load is pressed.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:172


setExistingFix

setExistingFix(inputData): Promise<void>

Sets existing fix for Direct To Existing

Parameters

NameTypeDescription
inputDataundefined | SelectAirwayInputDatais the DirectToInputData

Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:62