Skip to main content

Class: MFDSelectApproachController

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

Controller for MFDSelectApproach component.

Extends

Constructors

Constructor

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

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

Creates an instance of select approach controller.

Parameters

ParameterTypeDescription
storeMFDSelectApproachStoreThe store.
selectNextCb() => voidCallback when the next control should be focused.
fmsFmsInstance 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

Properties

approachFocusedHandler()

readonly approachFocusedHandler: (item) => Promise<void>

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

Responds to when an approach item is focused.

Parameters

ParameterTypeDescription
itemApproachListItemThe focused item.

Returns

Promise<void>

Inherited from

SelectApproachController.approachFocusedHandler


approachSelectedHandler()

readonly approachSelectedHandler: (index, item, isRefresh) => void

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

Responds to when an approach is selected.

Parameters

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

Returns

void

Inherited from

SelectApproachController.approachSelectedHandler


approachSelectionClosedHandler()

readonly approachSelectionClosedHandler: (source, selectionMade) => Promise<void>

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

Handles when the approach selection dialog is closed.

Parameters

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

Returns

Promise<void>

Inherited from

SelectApproachController.approachSelectionClosedHandler


buildSequenceOpId

protected buildSequenceOpId: number = 0

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

Inherited from

SelectApproachController.buildSequenceOpId


bus

protected readonly bus: EventBus

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

The Event Bus.

Inherited from

SelectApproachController.bus


calculator

protected readonly calculator: FlightPathCalculator

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

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

Inherited from

SelectApproachController.calculator


canActivate

readonly canActivate: Subject<boolean>

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

Inherited from

SelectApproachController.canActivate


canLoad

readonly canLoad: Subject<boolean>

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

Inherited from

SelectApproachController.canLoad


canLoadOrText

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

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

Inherited from

SelectApproachController.canLoadOrText


controlPub

protected readonly controlPub: Publisher<MinimumsEvents>

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

Inherited from

SelectApproachController.controlPub


facilityChangedHandler()

readonly facilityChangedHandler: (facility) => void

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

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

Parameters

ParameterTypeDescription
facilityundefined | FacilityThe selected facility.

Returns

void

Inherited from

SelectApproachController.facilityChangedHandler


fms

protected readonly fms: Fms

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

Instance of FMS.

Inherited from

SelectApproachController.fms


fplKey

protected readonly fplKey: string

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

The FPL ViewService Key.

Inherited from

SelectApproachController.fplKey


g1000ControlPub

protected readonly g1000ControlPub: Publisher<G1000ControlEvents>

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

Inherited from

SelectApproachController.g1000ControlPub


hasSequence

protected readonly hasSequence: boolean = false

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

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

Inherited from

SelectApproachController.hasSequence


inputIcao

readonly inputIcao: Subject<string>

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

Inherited from

SelectApproachController.inputIcao


onAfterFacilityLoad

onAfterFacilityLoad: undefined | () => void

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

A callback called after a facility is completed loading.

Inherited from

SelectApproachController.onAfterFacilityLoad


selectNextCb()

protected readonly selectNextCb: () => void

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

Callback when the next control should be focused.

Returns

void

Inherited from

SelectApproachController.selectNextCb


skipCourseReversal

protected skipCourseReversal: boolean = false

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

Inherited from

SelectApproachController.skipCourseReversal


store

protected readonly store: MFDSelectApproachStore

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

The store.

Inherited from

SelectApproachController.store


transFocusedHandler()

readonly transFocusedHandler: (item) => Promise<void>

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

Responds to when a transition item is focused.

Parameters

ParameterTypeDescription
itemTransitionListItemThe focused item.

Returns

Promise<void>

Inherited from

SelectApproachController.transFocusedHandler


transSelectedHandler()

readonly transSelectedHandler: (index, item, isRefresh) => Promise<void>

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

Responds to when a transition is selected.

Parameters

ParameterTypeDescription
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


transSelectionClosedHandler()

readonly transSelectionClosedHandler: (source, selectionMade) => Promise<void>

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

Handles when the transition selection dialog is closed.

Parameters

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

Returns

Promise<void>

Inherited from

SelectApproachController.transSelectionClosedHandler


viewService

protected readonly viewService: ViewService

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

The view service used by this controller.

Inherited from

SelectApproachController.viewService

Methods

buildSequence()

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

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

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

Parameters

ParameterTypeDescription
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


getInitialICAO()

protected getInitialICAO(): undefined | string

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

Returns

undefined | string

Inherit Doc

Inherited from

SelectApproachController.getInitialICAO


initialize()

initialize(): void

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

Initialize the controller.

Returns

void

Inherited from

SelectApproachController.initialize


onActivateExecuted()

onActivateExecuted(): void

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

Callback handler for when activate is pressed.

Returns

void

Inherited from

SelectApproachController.onActivateExecuted


onApproachFocused()

protected onApproachFocused(item): Promise<void>

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

Responds to when an approach item is focused.

Parameters

ParameterTypeDescription
itemApproachListItemThe focused item.

Returns

Promise<void>

Overrides

SelectApproachController.onApproachFocused


onApproachSelected()

protected onApproachSelected(index, item, isRefresh): void

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

Responds to when an approach is selected.

Parameters

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

Returns

void

Overrides

SelectApproachController.onApproachSelected


onApproachSelectionClosed()

protected onApproachSelectionClosed(source, selectionMade): Promise<void>

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

Handles when the approach selection dialog is closed.

Parameters

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

Returns

Promise<void>

Overrides

SelectApproachController.onApproachSelectionClosed


onLoadExecuted()

onLoadExecuted(): void

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

Callback handler for when load is pressed.

Returns

void

Inherited from

SelectApproachController.onLoadExecuted


onMinimumsOptionSelected()

onMinimumsOptionSelected(index): void

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

Callback handler for when a minimums option is selected.

Parameters

ParameterTypeDescription
indexnumberThe index of the option selected.

Returns

void

Inherited from

SelectApproachController.onMinimumsOptionSelected


onTransFocused()

protected onTransFocused(item): Promise<void>

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

Responds to when a transition item is focused.

Parameters

ParameterTypeDescription
itemTransitionListItemThe focused item.

Returns

Promise<void>

Overrides

SelectApproachController.onTransFocused


onTransSelected()

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

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

Responds to when a transition is selected.

Parameters

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

Returns

Promise<void>

Overrides

SelectApproachController.onTransSelected


onTransSelectionClosed()

protected onTransSelectionClosed(source, selectionMade): Promise<void>

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

Handles when the transition selection dialog is closed.

Parameters

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

Returns

Promise<void>

Inherited from

SelectApproachController.onTransSelectionClosed


refreshPreviewPlans()

refreshPreviewPlans(): void

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

Refreshes the procedure and transition preview plan subjects.

Returns

void


removeCourseReversalFromPreviewPlan()

protected removeCourseReversalFromPreviewPlan(): Promise<void>

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

Removes a course reversal from the preview plan.

Returns

Promise<void>

Inherited from

SelectApproachController.removeCourseReversalFromPreviewPlan


updateMinimumsValue()

updateMinimumsValue(): void

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

Callback handler for when a minimums value is selected.

Returns

void

Inherited from

SelectApproachController.updateMinimumsValue