Class: SelectApproachController<S>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:17
Controller for SelectApproach component.
Extended by
Type Parameters
Type Parameter | Default type |
---|---|
S extends SelectApproachStore | SelectApproachStore |
Constructors
Constructor
new SelectApproachController<
S
>(bus
,store
,selectNextCb
,fms
,calculator
,viewService
,fplKey
,hasSequence
):SelectApproachController
<S
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:52
Creates an instance of select approach controller.
Parameters
Parameter | Type | Default value | Description |
---|---|---|---|
bus | EventBus | undefined | The Event Bus. |
store | S | undefined | The store. |
selectNextCb | () => void | undefined | Callback when the next control should be focused. |
fms | Fms | undefined | Instance of FMS. |
calculator | FlightPathCalculator | undefined | The flight path calculator used by this controller to build preview flight plans. |
viewService | ViewService | undefined | The view service used by this controller. |
fplKey | string | undefined | The FPL ViewService Key. |
hasSequence | boolean | false | If this instance of the controller should support a sequence display. |
Returns
SelectApproachController
<S
>
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
Parameter | Type | Description |
---|---|---|
item | ApproachListItem | The focused item. |
Returns
Promise
<void
>
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
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
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
Parameter | Type | Description |
---|---|---|
source | SelectControl2 <ApproachListItem > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise
<void
>
buildSequenceOpId
protected
buildSequenceOpId:number
=0
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:274
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.
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.
canActivate
readonly
canActivate:Subject
<boolean
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:28
canLoad
readonly
canLoad:Subject
<boolean
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:27
canLoadOrText
readonly
canLoadOrText:MappedSubscribable
<""
|"OR"
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:29
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
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
Parameter | Type | Description |
---|---|---|
facility | undefined | Facility | The selected facility. |
Returns
void
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.
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.
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
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.
inputIcao
readonly
inputIcao:Subject
<string
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:26
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.
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
skipCourseReversal
protected
skipCourseReversal:boolean
=false
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:31
store
protected
readonly
store:S
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:54
The 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
Parameter | Type | Description |
---|---|---|
item | TransitionListItem | The focused item. |
Returns
Promise
<void
>
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
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
>
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
Parameter | Type | Description |
---|---|---|
source | SelectControl2 <TransitionListItem > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise
<void
>
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.
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
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.
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
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
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
onApproachFocused()
protected
onApproachFocused(item
):Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:215
Responds to when an approach item is focused.
Parameters
Parameter | Type | Description |
---|---|---|
item | ApproachListItem | The focused item. |
Returns
Promise
<void
>
onApproachSelected()
protected
onApproachSelected(index
,item
,isRefresh
):void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:203
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
onApproachSelectionClosed()
protected
onApproachSelectionClosed(source
,selectionMade
):Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:180
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
>
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
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
Parameter | Type | Description |
---|---|---|
index | number | The index of the option selected. |
Returns
void
onTransFocused()
protected
onTransFocused(item
):Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:270
Responds to when a transition item is focused.
Parameters
Parameter | Type | Description |
---|---|---|
item | TransitionListItem | The focused item. |
Returns
Promise
<void
>
onTransSelected()
protected
onTransSelected(index
,item
,isRefresh
):Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:225
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
>
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
Parameter | Type | Description |
---|---|---|
source | SelectControl2 <TransitionListItem > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise
<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
>
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