Class: SelectAirwayController
The controller for SelectProcedure views.
Constructors
constructor
• new SelectAirwayController(store
, selectNextCb
, fms
, exitSelectControlRef
): SelectAirwayController
Creates a Select Airway Controller
Parameters
Name | Type | Description |
---|---|---|
store | SelectAirwayStore | The store. |
selectNextCb | () => void | Callback when the next control should be focused. |
fms | Fms <any > | The FMS instance. |
exitSelectControlRef | NodeReference <SelectControl <IntersectionFacility >> | is the ref for the exit select control. |
Returns
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:35
Properties
canLoad
• canLoad: Subject
<boolean
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:23
emptyListText
• emptyListText: Subject
<string
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:24
entryIndex
• entryIndex: number
= -1
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:25
entryIndexSubject
• entryIndexSubject: Subject
<number
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:26
entrySubject
• Readonly
entrySubject: Subject
<string
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:22
exitSelectControlRef
• Readonly
exitSelectControlRef: NodeReference
<SelectControl
<IntersectionFacility
>>
is the ref for the exit select control.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:38
fms
• Readonly
fms: Fms
<any
>
The FMS instance.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:37
inputIcao
• inputIcao: Subject
<string
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:21
selectNextCb
• 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/Controllers/SelectAirwayController.tsx:36
store
• Readonly
store: SelectAirwayStore
The store.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:35
Methods
buildAirwayMenuItem
▸ buildAirwayMenuItem(airway
): ContextMenuItemDefinition
Builds an airway menu item.
Parameters
Name | Type | Description |
---|---|---|
airway | string | The airway to build the menu item for. |
Returns
A menu item definition.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:130
buildExitMenuItem
▸ buildExitMenuItem(waypoint
, index
): ContextMenuItemDefinition
Builds an airway exit menu item.
Parameters
Name | Type | Description |
---|---|---|
waypoint | IntersectionFacility | The intersection facility of the exit. |
index | number | The index of the airway. |
Returns
A menu item definition.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:155
initialize
▸ initialize(): void
Initialize the controller.
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:78
onAirwaySelected
▸ onAirwaySelected(index
, airway
, isRefresh
): void
Callback handler for when an airway is selected.
Parameters
Name | Type | Description |
---|---|---|
index | number | is the index of the item selected |
airway | string | The airway name 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/Controllers/SelectAirwayController.tsx:109
onExitSelected
▸ onExitSelected(index
, item
, isRefresh
): void
Callback handler for when an enroute transition is selected.
Parameters
Name | Type | Description |
---|---|---|
index | number | The index of the selected transition. |
item | IntersectionFacility | The transition 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/Controllers/SelectAirwayController.tsx:140
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/Controllers/SelectAirwayController.tsx:177
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/Controllers/SelectAirwayController.tsx:172
setExistingFix
▸ setExistingFix(inputData
): Promise
<void
>
Sets existing fix for Direct To Existing
Parameters
Name | Type | Description |
---|---|---|
inputData | undefined | SelectAirwayInputData | is the DirectToInputData |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayController.tsx:62