Class: SelectDepArrController<T, S>
Controller for departure/arrival selection components.
Type parameters
Name | Type |
---|---|
T | extends DepartureProcedure | ArrivalProcedure |
S | extends SelectDepArrStore <T > = SelectDepArrStore <T > |
Hierarchy
SelectDepArrController
Constructors
constructor
• new SelectDepArrController<T
, S
>(store
, selectNextCb
, fms
, calculator
, procType
): SelectDepArrController
<T
, S
>
Constructor.
Type parameters
Name | Type |
---|---|
T | extends Procedure |
S | extends SelectDepArrStore <T > = SelectDepArrStore <T > |
Parameters
Name | Type | Description |
---|---|---|
store | S | A data store. |
selectNextCb | () => void | Callback when the next control should be focused. |
fms | Fms <any > | The FMS instance. |
calculator | FlightPathCalculator | The flight path calculator used by this controller to build preview flight plans. |
procType | DEPARTURE | ARRIVAL | The procedure type for this controller. |
Returns
SelectDepArrController
<T
, S
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:36
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
calculator
• Protected
Readonly
calculator: FlightPathCalculator
The flight path calculator used by this controller to build preview flight plans.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:40
canLoad
• Readonly
canLoad: Subject
<boolean
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:26
facilityChangedHandler
• Readonly
facilityChangedHandler: (facility
: undefined
| Facility
) => void
Type declaration
▸ (facility
): void
Responds to when the waypoint input's selected facility changes.
Parameters
Name | Type | Description |
---|---|---|
facility | undefined | Facility | The selected facility. |
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:14
fms
• Protected
Readonly
fms: Fms
<any
>
The FMS instance.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:39
inputIcao
• Readonly
inputIcao: Subject
<string
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:25
onLoadExecute
• Abstract
onLoadExecute: () => void
Called when the load procedure button is clicked.
Type declaration
▸ (): void
Called when the load procedure button is clicked.
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:289
procFocusedHandler
• Readonly
procFocusedHandler: (proc
: T
) => Promise
<void
>
Type declaration
▸ (proc
): Promise
<void
>
Responds to when a procedure item is focused.
Parameters
Name | Type | Description |
---|---|---|
proc | T | The focused procedure. |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:16
procSelectedHandler
• Readonly
procSelectedHandler: (index
: number
, item
: T
, isRefresh
: boolean
) => void
Type declaration
▸ (index
, item
, isRefresh
): void
Callback handler for when a procedure is selected.
Parameters
Name | 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
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:15
procSelectionClosedHandler
• Readonly
procSelectionClosedHandler: (source
: SelectControl2
<T
>, selectionMade
: boolean
) => Promise
<void
>
Type declaration
▸ (source
, selectionMade
): Promise
<void
>
Handles when the procedure selection dialog is closed.
Parameters
Name | Type | Description |
---|---|---|
source | SelectControl2 <T > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:21
procType
• Protected
Readonly
procType: DEPARTURE
| ARRIVAL
The procedure type for this controller.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:41
runwayFocusedHandler
• Readonly
runwayFocusedHandler: (trans
: RunwayTransition
) => Promise
<void
>
Type declaration
▸ (trans
): Promise
<void
>
Responds to when a runway transition item is focused.
Parameters
Name | Type | Description |
---|---|---|
trans | RunwayTransition | The focused transition. |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:18
runwaySelectedHandler
• Readonly
runwaySelectedHandler: (index
: number
, item
: RunwayTransition
, isRefresh
: boolean
) => Promise
<void
>
Type declaration
▸ (index
, item
, isRefresh
): Promise
<void
>
Responds to when a runway transition is selected.
Parameters
Name | 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
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:17
rwyTransSelectionClosedHandler
• Readonly
rwyTransSelectionClosedHandler: (source
: SelectControl2
<RunwayTransition
>, selectionMade
: boolean
) => Promise
<void
>
Type declaration
▸ (source
, selectionMade
): Promise
<void
>
Handles when the runway transition selection dialog is closed.
Parameters
Name | Type | Description |
---|---|---|
source | SelectControl2 <RunwayTransition > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:22
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
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:38
store
• Protected
Readonly
store: S
A data store.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:37
transFocusedHandler
• Readonly
transFocusedHandler: (trans
: EnrouteTransition
) => Promise
<void
>
Type declaration
▸ (trans
): Promise
<void
>
Responds to when an enroute transition item is focused.
Parameters
Name | Type | Description |
---|---|---|
trans | EnrouteTransition | The focused transition. |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:20
transSelectedHandler
• Readonly
transSelectedHandler: (index
: number
, item
: EnrouteTransition
, isRefresh
: boolean
) => Promise
<void
>
Type declaration
▸ (index
, item
, isRefresh
): Promise
<void
>
Responds to when an enroute transition is selected.
Parameters
Name | 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
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:19
transSelectionClosedHandler
• Readonly
transSelectionClosedHandler: (source
: SelectControl2
<EnrouteTransition
>, selectionMade
: boolean
) => Promise
<void
>
Type declaration
▸ (source
, selectionMade
): Promise
<void
>
Handles when the enroute transition selection dialog is closed.
Parameters
Name | Type | Description |
---|---|---|
source | SelectControl2 <EnrouteTransition > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:23
Methods
buildSequence
▸ buildSequence(airport
, procedure
, procIndex
, transIndex
, rwyTransIndex
): Promise
<boolean
>
Builds the sequence list and flight plan for the procedure preview.
Parameters
Name | 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.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:251
getInitialICAO
▸ getInitialICAO(): undefined
| string
Gets the initial ICAO on load.
Returns
undefined
| string
The initial ICAO string or undefined.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:64
initializeIcaoInput
▸ initializeIcaoInput(): void
Initializes the airport ICAO input.
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:48
onFacilityChanged
▸ onFacilityChanged(facility
): void
Responds to when the waypoint input's selected facility changes.
Parameters
Name | Type | Description |
---|---|---|
facility | undefined | Facility | The selected facility. |
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:70
onLoadSelected
▸ onLoadSelected(): void
Callback handler for when load is pressed.
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:284
onProcFocused
▸ onProcFocused(proc
): Promise
<void
>
Responds to when a procedure item is focused.
Parameters
Name | Type | Description |
---|---|---|
proc | T | The focused procedure. |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:155
onProcSelected
▸ onProcSelected(index
, item
, isRefresh
): void
Callback handler for when a procedure is selected.
Parameters
Name | 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
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:141
onProcSelectionClosed
▸ onProcSelectionClosed(source
, selectionMade
): Promise
<void
>
Handles when the procedure selection dialog is closed.
Parameters
Name | Type | Description |
---|---|---|
source | SelectControl2 <T > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:89
onRunwayFocused
▸ onRunwayFocused(trans
): Promise
<void
>
Responds to when a runway transition item is focused.
Parameters
Name | Type | Description |
---|---|---|
trans | RunwayTransition | The focused transition. |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:192
onRunwaySelected
▸ onRunwaySelected(index
, item
, isRefresh
): Promise
<void
>
Responds to when a runway transition is selected.
Parameters
Name | 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
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:174
onRwyTransSelectionClosed
▸ onRwyTransSelectionClosed(source
, selectionMade
): Promise
<void
>
Handles when the runway transition selection dialog is closed.
Parameters
Name | Type | Description |
---|---|---|
source | SelectControl2 <RunwayTransition > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:106
onTransFocused
▸ onTransFocused(trans
): Promise
<void
>
Responds to when an enroute transition item is focused.
Parameters
Name | Type | Description |
---|---|---|
trans | EnrouteTransition | The focused transition. |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:228
onTransSelected
▸ onTransSelected(index
, item
, isRefresh
): Promise
<void
>
Responds to when an enroute transition is selected.
Parameters
Name | 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
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:210
onTransSelectionClosed
▸ onTransSelectionClosed(source
, selectionMade
): Promise
<void
>
Handles when the enroute transition selection dialog is closed.
Parameters
Name | Type | Description |
---|---|---|
source | SelectControl2 <EnrouteTransition > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:123