Class: MFDSelectApproachController
Defined in: workingtitle-instruments-g1000/html_ui/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/MFD/Components/UI/Procedure/Approach/MFDSelectApproachController.ts:27
Creates an instance of select approach controller.
Parameters
| Parameter | Type | Description |
|---|---|---|
store | MFDSelectApproachStore | The store. |
selectNextCb | () => void | Callback when the next control should be focused. |
fms | Fms | Instance of FMS. |
calculator | FlightPathCalculator | The flight path calculator used by this controller to build preview flight plans. |
viewService | ViewService | The view service used by this controller. |
fplKey | string | The FPL ViewService Key. |
procedurePlan | Subject<null | FlightPlan> | A subject to provide the procedure preview flight plan. |
transitionPlan | Subject<null | FlightPlan> | A subject to provide the procedure transition preview flight plan. |
focus | Subject<FlightPlanFocus> | A subject to provide the flight plan focus for the selected approach. |
Returns
MFDSelectApproachController
Overrides
SelectApproachController.constructor
Properties
approachFocusedHandler()
readonlyapproachFocusedHandler: (item) =>Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:20
Responds to when an approach item is focused.
Parameters
| Parameter | Type | Description |
|---|---|---|
item | ApproachListItem | The focused item. |
Returns
Promise<void>
Inherited from
SelectApproachController.approachFocusedHandler
approachSelectedHandler()
readonlyapproachSelectedHandler: (index,item,isRefresh) =>void
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:19
Responds to when an approach is selected.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index of the procedure selected. |
item | ApproachListItem | The item selected. |
isRefresh | boolean | If select event happened based on a data refresh. |
Returns
void
Inherited from
SelectApproachController.approachSelectedHandler
approachSelectionClosedHandler()
readonlyapproachSelectionClosedHandler: (source,selectionMade) =>Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:23
Handles when the approach selection dialog is closed.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | SelectControl2<ApproachListItem> | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise<void>
Inherited from
SelectApproachController.approachSelectionClosedHandler
buildSequenceOpId
protectedbuildSequenceOpId:number=0
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:274
Inherited from
SelectApproachController.buildSequenceOpId
bus
protectedreadonlybus:EventBus
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:53
The Event Bus.
Inherited from
calculator
protectedreadonlycalculator:FlightPathCalculator
Defined in: workingtitle-instruments-g1000/html_ui/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
readonlycanActivate:Subject<boolean>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:28
Inherited from
SelectApproachController.canActivate
canLoad
readonlycanLoad:Subject<boolean>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:27
Inherited from
SelectApproachController.canLoad
canLoadOrText
readonlycanLoadOrText:MappedSubscribable<""|"OR">
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:29
Inherited from
SelectApproachController.canLoadOrText
controlPub
protectedreadonlycontrolPub:Publisher<MinimumsEvents>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:32
Inherited from
SelectApproachController.controlPub
facilityChangedHandler()
readonlyfacilityChangedHandler: (facility) =>void
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:18
Responds to when the waypoint input's selected facility changes.
Parameters
| Parameter | Type | Description |
|---|---|---|
facility | undefined | Facility | The selected facility. |
Returns
void
Inherited from
SelectApproachController.facilityChangedHandler
fms
protectedreadonlyfms:Fms
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:56
Instance of FMS.
Inherited from
fplKey
protectedreadonlyfplKey:string
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:59
The FPL ViewService Key.
Inherited from
SelectApproachController.fplKey
g1000ControlPub
protectedreadonlyg1000ControlPub:Publisher<G1000ControlEvents>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:33
Inherited from
SelectApproachController.g1000ControlPub
hasSequence
protectedreadonlyhasSequence:boolean=false
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:60
If this instance of the controller should support a sequence display.
Inherited from
SelectApproachController.hasSequence
inputIcao
readonlyinputIcao:Subject<string>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:26
Inherited from
SelectApproachController.inputIcao
onAfterFacilityLoad
onAfterFacilityLoad:
undefined| () =>void
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:39
A callback called after a facility is completed loading.
Inherited from
SelectApproachController.onAfterFacilityLoad
selectNextCb()
protectedreadonlyselectNextCb: () =>void
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:55
Callback when the next control should be focused.
Returns
void
Inherited from
SelectApproachController.selectNextCb
skipCourseReversal
protectedskipCourseReversal:boolean=false
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:31
Inherited from
SelectApproachController.skipCourseReversal
store
protectedreadonlystore:MFDSelectApproachStore
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:54
The store.
Inherited from
SelectApproachController.store
transFocusedHandler()
readonlytransFocusedHandler: (item) =>Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:22
Responds to when a transition item is focused.
Parameters
| Parameter | Type | Description |
|---|---|---|
item | TransitionListItem | The focused item. |
Returns
Promise<void>
Inherited from
SelectApproachController.transFocusedHandler
transSelectedHandler()
readonlytransSelectedHandler: (index,item,isRefresh) =>Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:21
Responds to when a transition is selected.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index of the transition selected. |
item | TransitionListItem | The item selected. |
isRefresh | boolean | If select event happened based on a data refresh. |
Returns
Promise<void>
Inherited from
SelectApproachController.transSelectedHandler
transSelectionClosedHandler()
readonlytransSelectionClosedHandler: (source,selectionMade) =>Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:24
Handles when the transition selection dialog is closed.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | SelectControl2<TransitionListItem> | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise<void>
Inherited from
SelectApproachController.transSelectionClosedHandler
viewService
protectedreadonlyviewService:ViewService
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:58
The view service used by this controller.
Inherited from
SelectApproachController.viewService
Methods
buildSequence()
protectedbuildSequence(airport?,approach?,transition?):Promise<boolean>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:283
Builds the sequence list and flight plan for the approach preview.
Parameters
| Parameter | Type | Description |
|---|---|---|
airport? | AirportFacility | The airport of the approach to preview. |
approach? | ApproachListItem | The approach to preview. |
transition? | TransitionListItem | The 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()
protectedgetInitialICAO():undefined|string
Defined in: workingtitle-instruments-g1000/html_ui/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/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/Shared/UI/Procedure/Approach/SelectApproachController.tsx:345
Callback handler for when activate is pressed.
Returns
void
Inherited from
SelectApproachController.onActivateExecuted
onApproachFocused()
protectedonApproachFocused(item):Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/Approach/MFDSelectApproachController.ts:76
Responds to when an approach item is focused.
Parameters
| Parameter | Type | Description |
|---|---|---|
item | ApproachListItem | The focused item. |
Returns
Promise<void>
Overrides
SelectApproachController.onApproachFocused
onApproachSelected()
protectedonApproachSelected(index,item,isRefresh):void
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/Approach/MFDSelectApproachController.ts:70
Responds to when an approach is selected.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index of the procedure selected. |
item | ApproachListItem | The item selected. |
isRefresh | boolean | If select event happened based on a data refresh. |
Returns
void
Overrides
SelectApproachController.onApproachSelected
onApproachSelectionClosed()
protectedonApproachSelectionClosed(source,selectionMade):Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/Approach/MFDSelectApproachController.ts:61
Handles when the approach selection dialog is closed.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | SelectControl2<ApproachListItem> | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise<void>
Overrides
SelectApproachController.onApproachSelectionClosed
onLoadExecuted()
onLoadExecuted():
void
Defined in: workingtitle-instruments-g1000/html_ui/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/Shared/UI/Procedure/Approach/SelectApproachController.tsx:156
Callback handler for when a minimums option is selected.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index of the option selected. |
Returns
void
Inherited from
SelectApproachController.onMinimumsOptionSelected
onTransFocused()
protectedonTransFocused(item):Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/Approach/MFDSelectApproachController.ts:88
Responds to when a transition item is focused.
Parameters
| Parameter | Type | Description |
|---|---|---|
item | TransitionListItem | The focused item. |
Returns
Promise<void>
Overrides
SelectApproachController.onTransFocused
onTransSelected()
protectedonTransSelected(index,item,isRefresh):Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/Approach/MFDSelectApproachController.ts:82
Responds to when a transition is selected.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index of the transition selected. |
item | TransitionListItem | The item selected. |
isRefresh | boolean | If select event happened based on a data refresh. |
Returns
Promise<void>
Overrides
SelectApproachController.onTransSelected
onTransSelectionClosed()
protectedonTransSelectionClosed(source,selectionMade):Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/Approach/SelectApproachController.tsx:191
Handles when the transition selection dialog is closed.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | SelectControl2<TransitionListItem> | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise<void>
Inherited from
SelectApproachController.onTransSelectionClosed
refreshPreviewPlans()
refreshPreviewPlans():
void
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/Approach/MFDSelectApproachController.ts:54
Refreshes the procedure and transition preview plan subjects.
Returns
void
removeCourseReversalFromPreviewPlan()
protectedremoveCourseReversalFromPreviewPlan():Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/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/Shared/UI/Procedure/Approach/SelectApproachController.tsx:162
Callback handler for when a minimums value is selected.
Returns
void