Abstract Class: MFDSelectDepArrController<T, S>
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:21
A controller for MFD departure/arrival selection components.
Extends
SelectDepArrController<T,S>
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends DepartureProcedure | ArrivalProcedure | - |
S extends MFDSelectDepArrStore<T> | MFDSelectDepArrStore<T> |
Constructors
Constructor
new MFDSelectDepArrController<
T,S>(store,selectNextCb,fms,calculator,procedurePlan,transitionPlan,focus,procType):MFDSelectDepArrController<T,S>
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:35
Constructor.
Parameters
| Parameter | Type | Description |
|---|---|---|
store | S | A data store. |
selectNextCb | () => void | Callback when the next control should be focused. |
fms | Fms | The FMS instance. |
calculator | FlightPathCalculator | The flight path calculator used by this controller to build preview flight plans. |
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. |
procType | DEPARTURE | ARRIVAL | The procedure type for this controller. |
Returns
MFDSelectDepArrController<T, S>
Overrides
SelectDepArrController.constructor
Properties
buildSequenceOpId
protectedbuildSequenceOpId:number=0
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:240
Inherited from
SelectDepArrController.buildSequenceOpId
calculator
protectedreadonlycalculator:FlightPathCalculator
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:40
The flight path calculator used by this controller to build preview flight plans.
Inherited from
SelectDepArrController.calculator
canLoad
readonlycanLoad:Subject<boolean>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:26
Inherited from
SelectDepArrController.canLoad
facilityChangedHandler()
readonlyfacilityChangedHandler: (facility) =>void
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:14
Responds to when the waypoint input's selected facility changes.
Parameters
| Parameter | Type | Description |
|---|---|---|
facility | undefined | Facility | The selected facility. |
Returns
void
Inherited from
SelectDepArrController.facilityChangedHandler
fms
protectedreadonlyfms:Fms
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:39
The FMS instance.
Inherited from
focus
protectedreadonlyfocus:Subject<FlightPlanFocus>
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:42
A subject to provide the flight plan focus for the selected approach.
inputIcao
readonlyinputIcao:Subject<string>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:25
Inherited from
SelectDepArrController.inputIcao
onLoadExecute()
abstractonLoadExecute: () =>void
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:289
Called when the load procedure button is clicked.
Returns
void
Inherited from
SelectDepArrController.onLoadExecute
procedurePlan
protectedreadonlyprocedurePlan:Subject<null|FlightPlan>
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:40
A subject to provide the procedure preview flight plan.
procFocusedHandler()
readonlyprocFocusedHandler: (proc) =>Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:16
Responds to when a procedure item is focused.
Parameters
| Parameter | Type | Description |
|---|---|---|
proc | T | The focused procedure. |
Returns
Promise<void>
Inherited from
SelectDepArrController.procFocusedHandler
procSelectedHandler()
readonlyprocSelectedHandler: (index,item,isRefresh) =>void
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:15
Callback handler for when a procedure is selected.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index of the selected procedure. |
item | T | The procedure selected. |
isRefresh | boolean | If select event happened based on a data refresh. |
Returns
void
Inherited from
SelectDepArrController.procSelectedHandler
procSelectionClosedHandler()
readonlyprocSelectionClosedHandler: (source,selectionMade) =>Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:21
Handles when the procedure selection dialog is closed.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | SelectControl2<T> | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise<void>
Inherited from
SelectDepArrController.procSelectionClosedHandler
procType
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:41
The procedure type for this controller.
Inherited from
SelectDepArrController.procType
runwayFocusedHandler()
readonlyrunwayFocusedHandler: (trans) =>Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:18
Responds to when a runway transition item is focused.
Parameters
| Parameter | Type | Description |
|---|---|---|
trans | RunwayTransition | The focused transition. |
Returns
Promise<void>
Inherited from
SelectDepArrController.runwayFocusedHandler
runwaySelectedHandler()
readonlyrunwaySelectedHandler: (index,item,isRefresh) =>Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:17
Responds to when a runway transition is selected.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index of the selected transition. |
item | RunwayTransition | The transition selected. |
isRefresh | boolean | If select event happened based on a data refresh. |
Returns
Promise<void>
Inherited from
SelectDepArrController.runwaySelectedHandler
rwyTransSelectionClosedHandler()
readonlyrwyTransSelectionClosedHandler: (source,selectionMade) =>Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:22
Handles when the runway transition selection dialog is closed.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | SelectControl2<RunwayTransition> | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise<void>
Inherited from
SelectDepArrController.rwyTransSelectionClosedHandler
selectNextCb()
protectedreadonlyselectNextCb: () =>void
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:38
Callback when the next control should be focused.
Returns
void
Inherited from
SelectDepArrController.selectNextCb
store
protectedreadonlystore:S
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:37
A data store.
Inherited from
transFocusedHandler()
readonlytransFocusedHandler: (trans) =>Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:20
Responds to when an enroute transition item is focused.
Parameters
| Parameter | Type | Description |
|---|---|---|
trans | EnrouteTransition | The focused transition. |
Returns
Promise<void>
Inherited from
SelectDepArrController.transFocusedHandler
transitionPlan
protectedreadonlytransitionPlan:Subject<null|FlightPlan>
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:41
A subject to provide the procedure transition preview flight plan.
transSelectedHandler()
readonlytransSelectedHandler: (index,item,isRefresh) =>Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:19
Responds to when an enroute transition is selected.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index of the selected transition. |
item | EnrouteTransition | The transition selected. |
isRefresh | boolean | If select event happened based on a data refresh. |
Returns
Promise<void>
Inherited from
SelectDepArrController.transSelectedHandler
transSelectionClosedHandler()
readonlytransSelectionClosedHandler: (source,selectionMade) =>Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:23
Handles when the enroute transition selection dialog is closed.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | SelectControl2<EnrouteTransition> | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise<void>
Inherited from
SelectDepArrController.transSelectionClosedHandler
Methods
buildSequence()
protectedbuildSequence(airport,procedure,procIndex,transIndex,rwyTransIndex):Promise<boolean>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:251
Builds the sequence list and flight plan for the procedure preview.
Parameters
| Parameter | Type | Description |
|---|---|---|
airport | undefined | AirportFacility | The airport of the procedure to preview. |
procedure | undefined | T | The procedure to preview. |
procIndex | number | The index of the procedure to preview. |
transIndex | number | The enroute transition index of the procedure to preview. |
rwyTransIndex | number | The runway transition index of the procedure to preview. |
Returns
Promise<boolean>
A Promise which is fulfilled with whether a preview sequence was successfully built.
Inherited from
SelectDepArrController.buildSequence
getInitialICAO()
abstractprotectedgetInitialICAO():undefined|string
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:64
Gets the initial ICAO on load.
Returns
undefined | string
The initial ICAO string or undefined.
Inherited from
SelectDepArrController.getInitialICAO
initializeIcaoInput()
initializeIcaoInput():
void
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:48
Initializes the airport ICAO input.
Returns
void
Inherited from
SelectDepArrController.initializeIcaoInput
onFacilityChanged()
protectedonFacilityChanged(facility):void
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:70
Responds to when the waypoint input's selected facility changes.
Parameters
| Parameter | Type | Description |
|---|---|---|
facility | undefined | Facility | The selected facility. |
Returns
void
Inherited from
SelectDepArrController.onFacilityChanged
onLoadSelected()
onLoadSelected():
void
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:284
Callback handler for when load is pressed.
Returns
void
Inherited from
SelectDepArrController.onLoadSelected
onProcFocused()
protectedonProcFocused(departure):Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:96
Responds to when a procedure item is focused.
Parameters
| Parameter | Type | Description |
|---|---|---|
departure | T | The focused procedure. |
Returns
Promise<void>
Overrides
SelectDepArrController.onProcFocused
onProcSelected()
protectedonProcSelected(index,item,isRefresh):void
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:90
Callback handler for when a procedure is selected.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index of the selected procedure. |
item | T | The procedure selected. |
isRefresh | boolean | If select event happened based on a data refresh. |
Returns
void
Overrides
SelectDepArrController.onProcSelected
onProcSelectionClosed()
protectedonProcSelectionClosed(source,selectionMade):Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:62
Handles when the procedure selection dialog is closed.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | SelectControl2<T> | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise<void>
Overrides
SelectDepArrController.onProcSelectionClosed
onRunwayFocused()
protectedonRunwayFocused(trans):Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:110
Responds to when a runway transition item is focused.
Parameters
| Parameter | Type | Description |
|---|---|---|
trans | RunwayTransition | The focused transition. |
Returns
Promise<void>
Overrides
SelectDepArrController.onRunwayFocused
onRunwaySelected()
protectedonRunwaySelected(index,item,isRefresh):Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:104
Responds to when a runway transition is selected.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index of the selected transition. |
item | RunwayTransition | The transition selected. |
isRefresh | boolean | If select event happened based on a data refresh. |
Returns
Promise<void>
Overrides
SelectDepArrController.onRunwaySelected
onRwyTransSelectionClosed()
protectedonRwyTransSelectionClosed(source,selectionMade):Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:76
Handles when the runway transition selection dialog is closed.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | SelectControl2<RunwayTransition> | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise<void>
Overrides
SelectDepArrController.onRwyTransSelectionClosed
onTransFocused()
protectedonTransFocused(trans):Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:129
Responds to when an enroute transition item is focused.
Parameters
| Parameter | Type | Description |
|---|---|---|
trans | EnrouteTransition | The focused transition. |
Returns
Promise<void>
Overrides
SelectDepArrController.onTransFocused
onTransSelected()
protectedonTransSelected(index,item,isRefresh):Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:123
Responds to when an enroute transition is selected.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index of the selected transition. |
item | EnrouteTransition | The transition selected. |
isRefresh | boolean | If select event happened based on a data refresh. |
Returns
Promise<void>
Overrides
SelectDepArrController.onTransSelected
onTransSelectionClosed()
protectedonTransSelectionClosed(source,selectionMade):Promise<void>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:123
Handles when the enroute transition selection dialog is closed.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | SelectControl2<EnrouteTransition> | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise<void>
Inherited from
SelectDepArrController.onTransSelectionClosed
refreshPreviewPlans()
refreshPreviewPlans():
void
Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:55
Refreshes the procedure and transition preview plan subjects.
Returns
void