Class: SelectArrivalController<S>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectArrivalController.ts:11
Controller for SelectArrival.
Extends
SelectDepArrController
<ArrivalProcedure
,S
>
Type Parameters
Type Parameter | Default type |
---|---|
S extends SelectDepArrStore <ArrivalProcedure > | SelectDepArrStore <ArrivalProcedure > |
Constructors
Constructor
new SelectArrivalController<
S
>(store
,selectNextCb
,fms
,calculator
):SelectArrivalController
<S
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectArrivalController.ts:21
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. |
Returns
SelectArrivalController
<S
>
Overrides
SelectDepArrController
.constructor
Properties
buildSequenceOpId
protected
buildSequenceOpId:number
=0
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:240
Inherited from
SelectDepArrController
.buildSequenceOpId
calculator
protected
readonly
calculator:FlightPathCalculator
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectArrivalController.ts:25
The flight path calculator used by this controller to build preview flight plans.
Inherited from
SelectDepArrController
.calculator
canLoad
readonly
canLoad:Subject
<boolean
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:26
Inherited from
SelectDepArrController
.canLoad
facilityChangedHandler()
readonly
facilityChangedHandler: (facility
) =>void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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
protected
readonly
fms:Fms
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectArrivalController.ts:24
The FMS instance.
Inherited from
inputIcao
readonly
inputIcao:Subject
<string
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:25
Inherited from
SelectDepArrController
.inputIcao
procFocusedHandler()
readonly
procFocusedHandler: (proc
) =>Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:16
Responds to when a procedure item is focused.
Parameters
Parameter | Type | Description |
---|---|---|
proc | Procedure | The focused procedure. |
Returns
Promise
<void
>
Inherited from
SelectDepArrController
.procFocusedHandler
procSelectedHandler()
readonly
procSelectedHandler: (index
,item
,isRefresh
) =>void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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 | Procedure | The procedure selected. |
isRefresh | boolean | If select event happened based on a data refresh. |
Returns
void
Inherited from
SelectDepArrController
.procSelectedHandler
procSelectionClosedHandler()
readonly
procSelectionClosedHandler: (source
,selectionMade
) =>Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:21
Handles when the procedure selection dialog is closed.
Parameters
Parameter | Type | Description |
---|---|---|
source | SelectControl2 <Procedure > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise
<void
>
Inherited from
SelectDepArrController
.procSelectionClosedHandler
procType
protected
readonly
procType:DEPARTURE
|ARRIVAL
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:41
The procedure type for this controller.
Inherited from
SelectDepArrController
.procType
runwayFocusedHandler()
readonly
runwayFocusedHandler: (trans
) =>Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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()
readonly
runwaySelectedHandler: (index
,item
,isRefresh
) =>Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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()
readonly
rwyTransSelectionClosedHandler: (source
,selectionMade
) =>Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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()
protected
readonly
selectNextCb: () =>void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectArrivalController.ts:23
Callback when the next control should be focused.
Returns
void
Inherited from
SelectDepArrController
.selectNextCb
store
protected
readonly
store:S
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectArrivalController.ts:22
A data store.
Inherited from
transFocusedHandler()
readonly
transFocusedHandler: (trans
) =>Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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
transSelectedHandler()
readonly
transSelectedHandler: (index
,item
,isRefresh
) =>Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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()
readonly
transSelectionClosedHandler: (source
,selectionMade
) =>Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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()
protected
buildSequence(airport
,procedure
,procIndex
,transIndex
,rwyTransIndex
):Promise
<boolean
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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 | Procedure | 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()
protected
getInitialICAO():undefined
|string
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectArrivalController.ts:47
Gets the initial ICAO on load.
Returns
undefined
| string
The initial ICAO string or undefined.
Overrides
SelectDepArrController
.getInitialICAO
initializeIcaoInput()
initializeIcaoInput():
void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:48
Initializes the airport ICAO input.
Returns
void
Inherited from
SelectDepArrController
.initializeIcaoInput
onFacilityChanged()
protected
onFacilityChanged(facility
):void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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
onLoadExecute()
onLoadExecute():
void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectArrivalController.ts:30
Called when the load procedure button is clicked.
Returns
void
Overrides
SelectDepArrController.onLoadExecute
onLoadSelected()
onLoadSelected():
void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:284
Callback handler for when load is pressed.
Returns
void
Inherited from
SelectDepArrController
.onLoadSelected
onProcFocused()
protected
onProcFocused(proc
):Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:155
Responds to when a procedure item is focused.
Parameters
Parameter | Type | Description |
---|---|---|
proc | Procedure | The focused procedure. |
Returns
Promise
<void
>
Inherited from
SelectDepArrController
.onProcFocused
onProcSelected()
protected
onProcSelected(index
,item
,isRefresh
):void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:141
Callback handler for when a procedure is selected.
Parameters
Parameter | Type | Description |
---|---|---|
index | number | The index of the selected procedure. |
item | Procedure | The procedure selected. |
isRefresh | boolean | If select event happened based on a data refresh. |
Returns
void
Inherited from
SelectDepArrController
.onProcSelected
onProcSelectionClosed()
protected
onProcSelectionClosed(source
,selectionMade
):Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:89
Handles when the procedure selection dialog is closed.
Parameters
Parameter | Type | Description |
---|---|---|
source | SelectControl2 <Procedure > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise
<void
>
Inherited from
SelectDepArrController
.onProcSelectionClosed
onRunwayFocused()
protected
onRunwayFocused(trans
):Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:192
Responds to when a runway transition item is focused.
Parameters
Parameter | Type | Description |
---|---|---|
trans | RunwayTransition | The focused transition. |
Returns
Promise
<void
>
Inherited from
SelectDepArrController
.onRunwayFocused
onRunwaySelected()
protected
onRunwaySelected(index
,item
,isRefresh
):Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:174
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
.onRunwaySelected
onRwyTransSelectionClosed()
protected
onRwyTransSelectionClosed(source
,selectionMade
):Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:106
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
.onRwyTransSelectionClosed
onTransFocused()
protected
onTransFocused(trans
):Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:228
Responds to when an enroute transition item is focused.
Parameters
Parameter | Type | Description |
---|---|---|
trans | EnrouteTransition | The focused transition. |
Returns
Promise
<void
>
Inherited from
SelectDepArrController
.onTransFocused
onTransSelected()
protected
onTransSelected(index
,item
,isRefresh
):Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:210
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
.onTransSelected
onTransSelectionClosed()
protected
onTransSelectionClosed(source
,selectionMade
):Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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
>