Skip to main content

Class: MFDSelectAirway

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Airway/MFDSelectAirway.tsx:24

A view which allows the user to select an airway on the MFD.

Extends

Constructors

Constructor

new MFDSelectAirway(props): MFDSelectAirway

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Airway/SelectAirway.tsx:30

Parameters

ParameterType
propsMFDSelectAirwayProps

Returns

MFDSelectAirway

Inherit Doc

Inherited from

SelectAirway.constructor

Properties

context?

optional context: [] = undefined

Defined in: sdk/components/FSComponent.ts:64

The context on this component, if any.

Inherited from

SelectAirway.context


contextType?

readonly optional contextType: readonly [] = undefined

Defined in: sdk/components/FSComponent.ts:67

The type of context for this component, if any.

Inherited from

SelectAirway.contextType


controller

protected readonly controller: SelectAirwayController

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Airway/SelectAirway.tsx:26

Inherited from

SelectAirway.controller


exitSelectControlRef

protected readonly exitSelectControlRef: NodeReference<SelectControl<IntersectionFacility>>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Airway/SelectAirway.tsx:27

Inherited from

SelectAirway.exitSelectControlRef


focusSubject

protected focusSubject: Subject<boolean>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:33

Inherited from

SelectAirway.focusSubject


inputData

inputData: Subject<undefined | SelectAirwayInputData>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:36

Inherited from

SelectAirway.inputData


onAccept

onAccept: SubEventInterface<MFDSelectAirway, undefined>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:40

Inherited from

SelectAirway.onAccept


onClose

onClose: SubEventInterface<MFDSelectAirway, void>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:39

Inherited from

SelectAirway.onClose


onOpen

onOpen: SubEventInterface<MFDSelectAirway, void>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:38

Inherited from

SelectAirway.onOpen


props

props: MFDSelectAirwayProps & ComponentProps

Defined in: sdk/components/FSComponent.ts:61

The properties of the component.

Inherited from

SelectAirway.props


scrollController

protected scrollController: ScrollController

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:32

Inherited from

SelectAirway.scrollController


store

protected readonly store: SelectAirwayStore

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Airway/SelectAirway.tsx:25

Inherited from

SelectAirway.store


viewContainerRef

protected readonly viewContainerRef: NodeReference<HTMLDivElement>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:32

Inherited from

SelectAirway.viewContainerRef


viewResult

viewResult: undefined

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:34

Inherited from

SelectAirway.viewResult

Methods

accept()

accept(result?, closeView?): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:108

Confirms the view result and closes the view.

Parameters

ParameterTypeDefault valueDescription
result?undefinedundefinedProvide the view result if not already set.
closeView?booleantrueIndicates if the view should be closed after confirming the result.

Returns

void

Inherited from

SelectAirway.accept


blur()

blur(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:71

Method to unfocus this control group

Returns

void

Inherited from

SelectAirway.blur


close()

close(quickclose): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:65

Closes the view.

Parameters

ParameterTypeDefault valueDescription
quickclosebooleanfalsebool stating whether to quickclose the child.

Returns

void

Inherited from

SelectAirway.close


destroy()

destroy(): void

Defined in: sdk/components/FSComponent.ts:98

Destroys this component.

Returns

void

Inherited from

SelectAirway.destroy


focus()

focus(dir): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:61

Method to focus this control group

Parameters

ParameterTypeDefault valueDescription
dirEntryDirection'top'The direction of entry.

Returns

void

Inherited from

SelectAirway.focus


getContext()

protected getContext(context): never

Defined in: sdk/components/FSComponent.ts:106

Gets a context data subscription from the context collection.

Parameters

ParameterTypeDescription
contextneverThe context to get the subscription for.

Returns

never

The requested context.

Throws

An error if no data for the specified context type could be found.

Inherited from

SelectAirway.getContext


getHighlightElement()

getHighlightElement(): null | Element

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:125

This is just a dummy that exists here to be compatible with the union type of ScrollableControl

Returns

null | Element

null

Inherited from

SelectAirway.getHighlightElement


getIsFocusable()

getIsFocusable(): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:88

Gets a boolean indicating if this control is able to be focused.

Returns

boolean

true

Inherited from

SelectAirway.getIsFocusable


getIsFocused()

getIsFocused(): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:80

Method to check if this UiControlGroup is in focus

Returns

boolean

true if the control group is in focus, false otherwise

Inherited from

SelectAirway.getIsFocused


gotoNextSelect()

protected gotoNextSelect(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Airway/SelectAirway.tsx:60

Goto and activate next select control.

Returns

void

Inherited from

SelectAirway.gotoNextSelect


notifyViewOpened()

protected notifyViewOpened(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:131

Notifies subscribers that the view has been opened.

Returns

void

Inherited from

SelectAirway.notifyViewOpened


onAfterRender()

onAfterRender(node): void

Defined in: sdk/components/FSComponent.ts:87

A callback that is called after the component is rendered.

Parameters

ParameterTypeDescription
nodeVNodeThe component's VNode.

Returns

void

Inherited from

SelectAirway.onAfterRender


onBeforeRender()

onBeforeRender(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:51

Returns

void

Inherit Doc

Inherited from

SelectAirway.onBeforeRender


onBlurred()

protected onBlurred(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:244

A callback which is called when this control group is blurred.

Returns

void

Inherited from

SelectAirway.onBlurred


onFocused()

protected onFocused(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:237

A callback which is called when this control group is focused.

Returns

void

Inherited from

SelectAirway.onFocused


onInputDataSet()

onInputDataSet(inputData): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Airway/SelectAirway.tsx:48

Method to be overridden by view inheriting UiView to do something when the input data is set.

Parameters

ParameterTypeDescription
inputDataundefined | SelectAirwayInputDataThe data that was set.

Returns

void

Inherited from

SelectAirway.onInputDataSet


onInteractionEvent()

onInteractionEvent(evt): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Airway/SelectAirway.tsx:37

Handler for interaction events to be handled by the view.

Parameters

ParameterTypeDescription
evtFmsHEventThe HEvenet.

Returns

boolean

true if the event was handled in this group

Inherited from

SelectAirway.onInteractionEvent


onScrollToggled()

protected onScrollToggled(enabled): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:97

A method called when the control group scroll is toggled.

Parameters

ParameterTypeDescription
enabledbooleanif the scroll is enabled.

Returns

void

Inherited from

SelectAirway.onScrollToggled


onViewClosed()

protected onViewClosed(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:184

Method to be overridden by view inheriting UiView to do something when the dialog opens.

Returns

void

Inherited from

SelectAirway.onViewClosed


onViewOpened()

onViewOpened(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Airway/SelectAirway.tsx:55

Method to be overridden by view inheriting UiView to do something when the view opens.

Returns

void

Inherited from

SelectAirway.onViewOpened


onViewPaused()

protected onViewPaused(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:179

Method to be overridden by view inheriting UiView to do something when the dialog opens.

Returns

void

Inherited from

SelectAirway.onViewPaused


onViewResumed()

protected onViewResumed(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:174

Method to be overridden by view inheriting UiView to do something when the dialog opens.

Returns

void

Inherited from

SelectAirway.onViewResumed


open()

open(isSubView, zIndex?): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:47

Shows the view.

Parameters

ParameterTypeDescription
isSubViewbooleanWhether the view is being displayed as a subview.
zIndex?numberThe z-index to assign on the view container.

Returns

void

Inherited from

SelectAirway.open


pause()

pause(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:201

Pauses the view (usually only called by ViewService).

Returns

void

Inherited from

SelectAirway.pause


processHEvent()

processHEvent(evt): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:134

Handles HEvents and routes them to the subdialog when existant.

Parameters

ParameterTypeDescription
evtFmsHEventThe received event.

Returns

boolean

true if the event was handled in this control group, false otherwise.

Inherited from

SelectAirway.processHEvent


processScrollEvent()

protected processScrollEvent(evt): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:119

Attempts to handle scroll events.

Parameters

ParameterTypeDescription
evtFmsHEventThe received event.

Returns

boolean

whether the event was handled.

Inherited from

SelectAirway.processScrollEvent


register()

protected register(ctrl, unregister): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:226

Register/Unregisters a UiControl with the scroll controller.

Parameters

ParameterTypeDefault valueDescription
ctrlScrollableControlundefinedThe UiControl to register.
unregisterbooleanfalseIndicates if the UiControl should be unregistered.

Returns

void

Inherited from

SelectAirway.register


render()

render(): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Airway/MFDSelectAirway.tsx:37

Renders the component.

Returns

VNode

The component VNode.

Overrides

SelectAirway.render


renderAirwaySelectControl()

protected renderAirwaySelectControl(dialogPosition?): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Airway/SelectAirway.tsx:77

Renders the airway select control component.

Parameters

ParameterTypeDescription
dialogPosition?ContextMenuPositionThe position of the pop-up context menu dialog spawned by the select control.

Returns

VNode

The rendered airway select control component, as a VNode.

Inherited from

SelectAirway.renderAirwaySelectControl


renderExitSelectControl()

protected renderExitSelectControl(dialogPosition?): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Airway/SelectAirway.tsx:93

Renders the exit waypoint select control component.

Parameters

ParameterTypeDescription
dialogPosition?ContextMenuPositionThe position of the pop-up context menu dialog spawned by the select control.

Returns

VNode

The rendered exit waypoint select control component, as a VNode.

Inherited from

SelectAirway.renderExitSelectControl


renderLoadButton()

protected renderLoadButton(): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Airway/SelectAirway.tsx:109

Renders the load button.

Returns

VNode

the rendered load button, as a VNode.

Inherited from

SelectAirway.renderLoadButton


resume()

resume(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:208

Resumes the view (usually only called by ViewService).

Returns

void

Inherited from

SelectAirway.resume


routeEventToControl()

protected routeEventToControl(evt, control): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:176

Routes an interaction event to a UiControl.

Parameters

ParameterTypeDescription
evtFmsHEventAn interaction event.
controlUiControlThe UiControl to which to route the event.

Returns

boolean

Whether the event was handled by the UiControl.

Inherited from

SelectAirway.routeEventToControl


setInput()

setInput(input): this

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:97

Set data on this view.

Parameters

ParameterTypeDescription
inputundefined | SelectAirwayInputDataThe input data.

Returns

this

This view instance for chain commands.

Inherited from

SelectAirway.setInput


setScrollEnabled()

setScrollEnabled(enabled): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:113

Sets the scroll enabled state

Parameters

ParameterTypeDescription
enabledbooleanindicating if scrolling should be enabled

Returns

void

Inherited from

SelectAirway.setScrollEnabled


setZIndex()

setZIndex(zIndex): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:88

Sets this view's z-index.

Parameters

ParameterTypeDescription
zIndexundefined | numberThe new z-indez. If not defined, the view's z-index will be reset.

Returns

void

Inherited from

SelectAirway.setZIndex


toggleScroll()

toggleScroll(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:104

Toggles the scroll highlighting

Returns

void

Inherited from

SelectAirway.toggleScroll