Class: SelectApproachController<S>
Controller for SelectApproach component.
Type parameters
Name | Type |
---|---|
S | extends SelectApproachStore = SelectApproachStore |
Hierarchy
SelectApproachController
Constructors
constructor
• new SelectApproachController<S
>(bus
, store
, selectNextCb
, fms
, calculator
, viewService
, fplKey
, hasSequence?
): SelectApproachController
<S
>
Creates an instance of select approach controller.
Type parameters
Name | Type |
---|---|
S | extends SelectApproachStore = SelectApproachStore |
Parameters
Name | 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 <any > | 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
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:52
Properties
approachFocusedHandler
• Readonly
approachFocusedHandler: (item
: ApproachListItem
) => Promise
<void
>
Type declaration
▸ (item
): Promise
<void
>
Responds to when an approach item is focused.
Parameters
Name | Type | Description |
---|---|---|
item | ApproachListItem | The focused item. |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:20
approachSelectedHandler
• Readonly
approachSelectedHandler: (index
: number
, item
: ApproachListItem
, isRefresh
: boolean
) => void
Type declaration
▸ (index
, item
, isRefresh
): void
Responds to when an approach is selected.
Parameters
Name | 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
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:19
approachSelectionClosedHandler
• Readonly
approachSelectionClosedHandler: (source
: SelectControl2
<ApproachListItem
>, selectionMade
: boolean
) => Promise
<void
>
Type declaration
▸ (source
, selectionMade
): Promise
<void
>
Handles when the approach selection dialog is closed.
Parameters
Name | Type | Description |
---|---|---|
source | SelectControl2 <ApproachListItem > | 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/Approach/SelectApproachController.tsx:23
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
The Event Bus.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:53
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/Approach/SelectApproachController.tsx:57
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
: 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/Approach/SelectApproachController.tsx:18
fms
• Protected
Readonly
fms: Fms
<any
>
Instance of FMS.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:56
fplKey
• Protected
Readonly
fplKey: string
The FPL ViewService Key.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:59
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
If this instance of the controller should support a sequence display.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:60
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
A callback called after a facility is completed loading.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:39
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/Approach/SelectApproachController.tsx:55
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
The store.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:54
transFocusedHandler
• Readonly
transFocusedHandler: (item
: TransitionListItem
) => Promise
<void
>
Type declaration
▸ (item
): Promise
<void
>
Responds to when a transition item is focused.
Parameters
Name | Type | Description |
---|---|---|
item | TransitionListItem | The focused item. |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:22
transSelectedHandler
• Readonly
transSelectedHandler: (index
: number
, item
: TransitionListItem
, isRefresh
: boolean
) => Promise
<void
>
Type declaration
▸ (index
, item
, isRefresh
): Promise
<void
>
Responds to when a transition is selected.
Parameters
Name | 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
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:21
transSelectionClosedHandler
• Readonly
transSelectionClosedHandler: (source
: SelectControl2
<TransitionListItem
>, selectionMade
: boolean
) => Promise
<void
>
Type declaration
▸ (source
, selectionMade
): Promise
<void
>
Handles when the transition selection dialog is closed.
Parameters
Name | Type | Description |
---|---|---|
source | SelectControl2 <TransitionListItem > | 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/Approach/SelectApproachController.tsx:24
viewService
• Protected
Readonly
viewService: ViewService
The view service used by this controller.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:58
Methods
buildSequence
▸ buildSequence(airport?
, approach?
, transition?
): Promise
<boolean
>
Builds the sequence list and flight plan for the approach preview.
Parameters
Name | 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.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:283
getInitialICAO
▸ getInitialICAO(): undefined
| string
Returns
undefined
| string
Inherit Doc
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:88
initialize
▸ initialize(): void
Initialize the controller.
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:76
onActivateExecuted
▸ onActivateExecuted(): void
Callback handler for when activate is pressed.
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:345
onApproachFocused
▸ onApproachFocused(item
): Promise
<void
>
Responds to when an approach item is focused.
Parameters
Name | Type | Description |
---|---|---|
item | ApproachListItem | The focused item. |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:215
onApproachSelected
▸ onApproachSelected(index
, item
, isRefresh
): void
Responds to when an approach is selected.
Parameters
Name | 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
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:203
onApproachSelectionClosed
▸ onApproachSelectionClosed(source
, selectionMade
): Promise
<void
>
Handles when the approach selection dialog is closed.
Parameters
Name | Type | Description |
---|---|---|
source | SelectControl2 <ApproachListItem > | 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/Approach/SelectApproachController.tsx:180
onLoadExecuted
▸ onLoadExecuted(): 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/Approach/SelectApproachController.tsx:334
onMinimumsOptionSelected
▸ onMinimumsOptionSelected(index
): void
Callback handler for when a minimums option is selected.
Parameters
Name | Type | Description |
---|---|---|
index | number | The index of the option selected. |
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:156
onTransFocused
▸ onTransFocused(item
): Promise
<void
>
Responds to when a transition item is focused.
Parameters
Name | Type | Description |
---|---|---|
item | TransitionListItem | The focused item. |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:270
onTransSelected
▸ onTransSelected(index
, item
, isRefresh
): Promise
<void
>
Responds to when a transition is selected.
Parameters
Name | 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
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:225
onTransSelectionClosed
▸ onTransSelectionClosed(source
, selectionMade
): Promise
<void
>
Handles when the transition selection dialog is closed.
Parameters
Name | Type | Description |
---|---|---|
source | SelectControl2 <TransitionListItem > | 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/Approach/SelectApproachController.tsx:191
removeCourseReversalFromPreviewPlan
▸ removeCourseReversalFromPreviewPlan(): Promise
<void
>
Removes a course reversal from the preview plan.
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:253
updateMinimumsValue
▸ updateMinimumsValue(): void
Callback handler for when a minimums value is selected.
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproachController.tsx:162