Skip to main content

Class: MFDSelectApproachController

Controller for MFDSelectApproach component.

Hierarchy

Constructors

constructor

new MFDSelectApproachController(store, selectNextCb, fms, calculator, viewService, fplKey, procedurePlan, transitionPlan, focus): MFDSelectApproachController

Creates an instance of select approach controller.

Parameters

NameTypeDescription
storeMFDSelectApproachStoreThe store.
selectNextCb() => voidCallback when the next control should be focused.
fmsFms<any>Instance of FMS.
calculatorFlightPathCalculatorThe flight path calculator used by this controller to build preview flight plans.
viewServiceViewServiceThe view service used by this controller.
fplKeystringThe FPL ViewService Key.
procedurePlanSubject<null | FlightPlan>A subject to provide the procedure preview flight plan.
transitionPlanSubject<null | FlightPlan>A subject to provide the procedure transition preview flight plan.
focusSubject<FlightPlanFocus>A subject to provide the flight plan focus for the selected approach.

Returns

MFDSelectApproachController

Overrides

SelectApproachController.constructor

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/Approach/MFDSelectApproachController.ts:27

Properties

approachFocusedHandler

Readonly approachFocusedHandler: (item: ApproachListItem) => Promise<void>

Type declaration

▸ (item): Promise<void>

Responds to when an approach item is focused.

Parameters
NameTypeDescription
itemApproachListItemThe focused item.
Returns

Promise<void>

Inherited from

SelectApproachController.approachFocusedHandler

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:20


approachSelectedHandler

Readonly approachSelectedHandler: (index: number, item: ApproachListItem, isRefresh: boolean) => void

Type declaration

▸ (index, item, isRefresh): void

Responds to when an approach is selected.

Parameters
NameTypeDescription
indexnumberThe index of the procedure selected.
itemApproachListItemThe item selected.
isRefreshbooleanIf select event happened based on a data refresh.
Returns

void

Inherited from

SelectApproachController.approachSelectedHandler

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:19


approachSelectionClosedHandler

Readonly approachSelectionClosedHandler: (source: SelectControl2<ApproachListItem>, selectionMade: boolean) => Promise<void>

Type declaration

▸ (source, selectionMade): Promise<void>

Handles when the approach selection dialog is closed.

Parameters
NameTypeDescription
sourceSelectControl2<ApproachListItem>The SelectControl controlling the dialog that was closed.
selectionMadebooleanWhether a selection was made.
Returns

Promise<void>

Inherited from

SelectApproachController.approachSelectionClosedHandler

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:23


buildSequenceOpId

Protected buildSequenceOpId: number = 0

Inherited from

SelectApproachController.buildSequenceOpId

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:274


bus

Protected Readonly bus: EventBus

The Event Bus.

Inherited from

SelectApproachController.bus

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:53


calculator

Protected Readonly calculator: FlightPathCalculator

The flight path calculator used by this controller to build preview flight plans.

Inherited from

SelectApproachController.calculator

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:57


canActivate

Readonly canActivate: Subject<boolean>

Inherited from

SelectApproachController.canActivate

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:28


canLoad

Readonly canLoad: Subject<boolean>

Inherited from

SelectApproachController.canLoad

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:27


canLoadOrText

Readonly canLoadOrText: MappedSubscribable<"" | "OR">

Inherited from

SelectApproachController.canLoadOrText

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:29


controlPub

Protected Readonly controlPub: Publisher<MinimumsEvents>

Inherited from

SelectApproachController.controlPub

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:32


facilityChangedHandler

Readonly facilityChangedHandler: (facility: undefined | Facility) => void

Type declaration

▸ (facility): void

Responds to when the waypoint input's selected facility changes.

Parameters
NameTypeDescription
facilityundefined | FacilityThe selected facility.
Returns

void

Inherited from

SelectApproachController.facilityChangedHandler

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:18


fms

Protected Readonly fms: Fms<any>

Instance of FMS.

Inherited from

SelectApproachController.fms

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:56


fplKey

Protected Readonly fplKey: string

The FPL ViewService Key.

Inherited from

SelectApproachController.fplKey

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:59


g1000ControlPub

Protected Readonly g1000ControlPub: Publisher<G1000ControlEvents>

Inherited from

SelectApproachController.g1000ControlPub

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:33


hasSequence

Protected Readonly hasSequence: boolean = false

If this instance of the controller should support a sequence display.

Inherited from

SelectApproachController.hasSequence

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:60


inputIcao

Readonly inputIcao: Subject<string>

Inherited from

SelectApproachController.inputIcao

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:26


onAfterFacilityLoad

onAfterFacilityLoad: undefined | () => void

A callback called after a facility is completed loading.

Inherited from

SelectApproachController.onAfterFacilityLoad

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:39


selectNextCb

Protected Readonly selectNextCb: () => void

Callback when the next control should be focused.

Type declaration

▸ (): void

Callback when the next control should be focused.

Returns

void

Inherited from

SelectApproachController.selectNextCb

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:55


skipCourseReversal

Protected skipCourseReversal: boolean = false

Inherited from

SelectApproachController.skipCourseReversal

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:31


store

Protected Readonly store: MFDSelectApproachStore

The store.

Inherited from

SelectApproachController.store

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:54


transFocusedHandler

Readonly transFocusedHandler: (item: TransitionListItem) => Promise<void>

Type declaration

▸ (item): Promise<void>

Responds to when a transition item is focused.

Parameters
NameTypeDescription
itemTransitionListItemThe focused item.
Returns

Promise<void>

Inherited from

SelectApproachController.transFocusedHandler

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:22


transSelectedHandler

Readonly transSelectedHandler: (index: number, item: TransitionListItem, isRefresh: boolean) => Promise<void>

Type declaration

▸ (index, item, isRefresh): Promise<void>

Responds to when a transition is selected.

Parameters
NameTypeDescription
indexnumberThe index of the transition selected.
itemTransitionListItemThe item selected.
isRefreshbooleanIf select event happened based on a data refresh.
Returns

Promise<void>

Inherited from

SelectApproachController.transSelectedHandler

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:21


transSelectionClosedHandler

Readonly transSelectionClosedHandler: (source: SelectControl2<TransitionListItem>, selectionMade: boolean) => Promise<void>

Type declaration

▸ (source, selectionMade): Promise<void>

Handles when the transition selection dialog is closed.

Parameters
NameTypeDescription
sourceSelectControl2<TransitionListItem>The SelectControl controlling the dialog that was closed.
selectionMadebooleanWhether a selection was made.
Returns

Promise<void>

Inherited from

SelectApproachController.transSelectionClosedHandler

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:24


viewService

Protected Readonly viewService: ViewService

The view service used by this controller.

Inherited from

SelectApproachController.viewService

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:58

Methods

buildSequence

buildSequence(airport?, approach?, transition?): Promise<boolean>

Builds the sequence list and flight plan for the approach preview.

Parameters

NameTypeDescription
airport?AirportFacilityThe airport of the approach to preview.
approach?ApproachListItemThe approach to preview.
transition?TransitionListItemThe transition of the approach preview.

Returns

Promise<boolean>

A Promise which is fulfilled with whether a preview sequence was successfully built.

Inherited from

SelectApproachController.buildSequence

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:283


getInitialICAO

getInitialICAO(): undefined | string

Returns

undefined | string

Inherit Doc

Inherited from

SelectApproachController.getInitialICAO

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:88


initialize

initialize(): void

Initialize the controller.

Returns

void

Inherited from

SelectApproachController.initialize

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:76


onActivateExecuted

onActivateExecuted(): void

Callback handler for when activate is pressed.

Returns

void

Inherited from

SelectApproachController.onActivateExecuted

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:345


onApproachFocused

onApproachFocused(item): Promise<void>

Responds to when an approach item is focused.

Parameters

NameTypeDescription
itemApproachListItemThe focused item.

Returns

Promise<void>

Overrides

SelectApproachController.onApproachFocused

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/Approach/MFDSelectApproachController.ts:76


onApproachSelected

onApproachSelected(index, item, isRefresh): void

Responds to when an approach is selected.

Parameters

NameTypeDescription
indexnumberThe index of the procedure selected.
itemApproachListItemThe item selected.
isRefreshbooleanIf select event happened based on a data refresh.

Returns

void

Overrides

SelectApproachController.onApproachSelected

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/Approach/MFDSelectApproachController.ts:70


onApproachSelectionClosed

onApproachSelectionClosed(source, selectionMade): Promise<void>

Handles when the approach selection dialog is closed.

Parameters

NameTypeDescription
sourceSelectControl2<ApproachListItem>The SelectControl controlling the dialog that was closed.
selectionMadebooleanWhether a selection was made.

Returns

Promise<void>

Overrides

SelectApproachController.onApproachSelectionClosed

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/Approach/MFDSelectApproachController.ts:61


onLoadExecuted

onLoadExecuted(): void

Callback handler for when load is pressed.

Returns

void

Inherited from

SelectApproachController.onLoadExecuted

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:334


onMinimumsOptionSelected

onMinimumsOptionSelected(index): void

Callback handler for when a minimums option is selected.

Parameters

NameTypeDescription
indexnumberThe index of the option selected.

Returns

void

Inherited from

SelectApproachController.onMinimumsOptionSelected

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:156


onTransFocused

onTransFocused(item): Promise<void>

Responds to when a transition item is focused.

Parameters

NameTypeDescription
itemTransitionListItemThe focused item.

Returns

Promise<void>

Overrides

SelectApproachController.onTransFocused

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/Approach/MFDSelectApproachController.ts:88


onTransSelected

onTransSelected(index, item, isRefresh): Promise<void>

Responds to when a transition is selected.

Parameters

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

Returns

Promise<void>

Overrides

SelectApproachController.onTransSelected

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/Approach/MFDSelectApproachController.ts:82


onTransSelectionClosed

onTransSelectionClosed(source, selectionMade): Promise<void>

Handles when the transition selection dialog is closed.

Parameters

NameTypeDescription
sourceSelectControl2<TransitionListItem>The SelectControl controlling the dialog that was closed.
selectionMadebooleanWhether a selection was made.

Returns

Promise<void>

Inherited from

SelectApproachController.onTransSelectionClosed

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:191


refreshPreviewPlans

refreshPreviewPlans(): void

Refreshes the procedure and transition preview plan subjects.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/Approach/MFDSelectApproachController.ts:54


removeCourseReversalFromPreviewPlan

removeCourseReversalFromPreviewPlan(): Promise<void>

Removes a course reversal from the preview plan.

Returns

Promise<void>

Inherited from

SelectApproachController.removeCourseReversalFromPreviewPlan

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:253


updateMinimumsValue

updateMinimumsValue(): void

Callback handler for when a minimums value is selected.

Returns

void

Inherited from

SelectApproachController.updateMinimumsValue

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:162