Skip to main content

Class: MFDSelectApproach

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

An MFD component for selecting approaches.

Extends

Implements

Constructors

Constructor

new MFDSelectApproach(props): MFDSelectApproach

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

Parameters

ParameterType
propsMFDSelectApproachProps

Returns

MFDSelectApproach

Inherit Doc

Inherited from

SelectApproach.constructor

Properties

approachSelectRef

protected readonly approachSelectRef: NodeReference<SelectControl2<ApproachListItem>>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:79

Inherited from

SelectApproach.approachSelectRef


context?

optional context: [] = undefined

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

The context on this component, if any.

Implementation of

MFDSelectProcedure.context

Inherited from

SelectApproach.context


contextType?

readonly optional contextType: readonly [] = undefined

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

The type of context for this component, if any.

Implementation of

MFDSelectProcedure.contextType

Inherited from

SelectApproach.contextType


controller

protected readonly controller: SelectApproachController<SelectApproachStore>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:84

Inherited from

SelectApproach.controller


controlPub

protected readonly controlPub: Publisher<ControlEvents>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:87

Inherited from

SelectApproach.controlPub


focusSubject

protected focusSubject: Subject<boolean>

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

Implementation of

MFDSelectProcedure.focusSubject

Inherited from

SelectApproach.focusSubject


minsToggleComponent

protected readonly minsToggleComponent: NodeReference<ArrowToggle>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:81

Inherited from

SelectApproach.minsToggleComponent


props

props: MFDSelectApproachProps & ComponentProps

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

The properties of the component.

Implementation of

MFDSelectProcedure.props

Inherited from

SelectApproach.props


scrollController

protected scrollController: ScrollController

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

Implementation of

MFDSelectProcedure.scrollController

Inherited from

SelectApproach.scrollController


sortedApproachSub

protected readonly sortedApproachSub: SortedMappedSubscribableArray<ApproachListItem>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:86

Inherited from

SelectApproach.sortedApproachSub


store

protected readonly store: SelectApproachStore

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:83

Inherited from

SelectApproach.store


transitionSelectRef

protected readonly transitionSelectRef: NodeReference<SelectControl2<TransitionListItem>>

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

Inherited from

SelectApproach.transitionSelectRef


APPROACH_RUNWAY_DESIGNATOR_PRIORITIES_FWD

protected readonly static APPROACH_RUNWAY_DESIGNATOR_PRIORITIES_FWD: Record<RunwayDesignator, number>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:60

Inherited from

SelectApproach.APPROACH_RUNWAY_DESIGNATOR_PRIORITIES_FWD


APPROACH_RUNWAY_DESIGNATOR_PRIORITIES_REV

protected readonly static APPROACH_RUNWAY_DESIGNATOR_PRIORITIES_REV: Record<RunwayDesignator, number>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:69

Inherited from

SelectApproach.APPROACH_RUNWAY_DESIGNATOR_PRIORITIES_REV


APPROACH_TYPE_PRIORITIES

protected readonly static APPROACH_TYPE_PRIORITIES: Record<ExtendedApproachType, number>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:45

Inherited from

SelectApproach.APPROACH_TYPE_PRIORITIES

Methods

activate()

activate(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/Approach/MFDSelectApproach.tsx:63

Activates this component.

Returns

void

Implementation of

MFDSelectProcedure.activate


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

Implementation of

MFDSelectProcedure.blur

Inherited from

SelectApproach.blur


buildApprMenuItem()

protected buildApprMenuItem(proc): ContextMenuItemDefinition

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:233

Builds a approach procedure menu item.

Parameters

ParameterTypeDescription
procApproachListItemThe approach procedure.

Returns

ContextMenuItemDefinition

A menu item definition.

Inherited from

SelectApproach.buildApprMenuItem


buildTransMenuItem()

protected buildTransMenuItem(trans): ContextMenuItemDefinition

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:248

Builds a transition menu item.

Parameters

ParameterTypeDescription
transTransitionListItemThe transition.

Returns

ContextMenuItemDefinition

A menu item definition.

Inherited from

SelectApproach.buildTransMenuItem


createController()

protected createController(store): SelectApproachController

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/Approach/MFDSelectApproach.tsx:48

Creates an instance of an approach selection component controller.

Parameters

ParameterTypeDescription
storeMFDSelectApproachStoreThis component's data store.

Returns

SelectApproachController

An approach selection component controller.

Overrides

SelectApproach.createController


createStore()

protected createStore(): MFDSelectApproachStore

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/Approach/MFDSelectApproach.tsx:43

Creates an instance of an approach selection component data store.

Returns

MFDSelectApproachStore

An approach selection component data store.

Overrides

SelectApproach.createStore


deactivate()

deactivate(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/Approach/MFDSelectApproach.tsx:70

Deactivates this component.

Returns

void

Implementation of

MFDSelectProcedure.deactivate


destroy()

destroy(): void

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

Destroys this component.

Returns

void

Implementation of

MFDSelectProcedure.destroy

Inherited from

SelectApproach.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

Implementation of

MFDSelectProcedure.focus

Inherited from

SelectApproach.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.

Implementation of

MFDSelectProcedure.getContext

Inherited from

SelectApproach.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

Implementation of

MFDSelectProcedure.getHighlightElement

Inherited from

SelectApproach.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

Implementation of

MFDSelectProcedure.getIsFocusable

Inherited from

SelectApproach.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

Implementation of

MFDSelectProcedure.getIsFocused

Inherited from

SelectApproach.getIsFocused


gotoNextSelect()

protected gotoNextSelect(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:114

Goto and activate next select control.

Returns

void

Inherited from

SelectApproach.gotoNextSelect


initDefaults()

initDefaults(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:224

Initializes the default approach selection page display.

Returns

void

Inherited from

SelectApproach.initDefaults


onActivateExecuted()

protected onActivateExecuted(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/Approach/MFDSelectApproach.tsx:88

A callback which is called when the Activate action is executed.

Returns

void


onAfterRender()

onAfterRender(node): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:129

A callback that is called after the component is rendered.

Parameters

ParameterTypeDescription
nodeVNodeThe component's VNode.

Returns

void

Implementation of

MFDSelectProcedure.onAfterRender

Inherited from

SelectApproach.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

Implementation of

MFDSelectProcedure.onBeforeRender

Inherited from

SelectApproach.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

Implementation of

MFDSelectProcedure.onBlurred

Inherited from

SelectApproach.onBlurred


onEnterPressedAdvance()

protected onEnterPressedAdvance(): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:192

A callback which is called when enter is pressed on certain controls.

Returns

boolean

Whether or not the control handled the event. Always true here.

Inherited from

SelectApproach.onEnterPressedAdvance


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

Implementation of

MFDSelectProcedure.onFocused

Inherited from

SelectApproach.onFocused


onInteractionEvent()

onInteractionEvent(evt): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:103

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

Implementation of

MFDSelectProcedure.onInteractionEvent

Inherited from

SelectApproach.onInteractionEvent


onLoadExecuted()

protected onLoadExecuted(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/Approach/MFDSelectApproach.tsx:81

A callback which is called when the Load action is executed.

Returns

void


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

Implementation of

MFDSelectProcedure.onScrollToggled

Inherited from

SelectApproach.onScrollToggled


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.

Implementation of

MFDSelectProcedure.processHEvent

Inherited from

SelectApproach.processHEvent


processScrollEvent()

protected processScrollEvent(evt): boolean

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

Attempts to handle scroll events.

Parameters

ParameterTypeDescription
evtFmsHEventThe received event.

Returns

boolean

whether the event was handled.

Implementation of

MFDSelectProcedure.processScrollEvent

Inherited from

SelectApproach.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

Implementation of

MFDSelectProcedure.register

Inherited from

SelectApproach.register


render()

render(): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/Approach/MFDSelectApproach.tsx:96

Renders the component.

Returns

VNode

The component VNode.

Implementation of

MFDSelectProcedure.render

Overrides

SelectApproach.render


renderApproachSelectControl()

protected renderApproachSelectControl(container, dialogPosition?): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:277

Renders the approach select control component.

Parameters

ParameterTypeDescription
containerNodeReference<HTMLElement>A reference to the container that constrains the position of the select control pop-up.
dialogPosition?ContextMenuPositionThe position of the pop-up context menu dialog spawned by the select control.

Returns

VNode

The rendered approach select control component, as a VNode.

Inherited from

SelectApproach.renderApproachSelectControl


renderMinimumsNumberInput()

protected renderMinimumsNumberInput(cssClass?): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:332

Renders the minimums number input component.

Parameters

ParameterTypeDescription
cssClass?stringCSS class(es) to apply to the number input component.

Returns

VNode

The minimums number input component, as a VNode.

Inherited from

SelectApproach.renderMinimumsNumberInput


renderTransitionSelectControl()

protected renderTransitionSelectControl(container, dialogPosition?): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:305

Renders the transition select control component.

Parameters

ParameterTypeDescription
containerNodeReference<HTMLElement>A reference to the container that constrains the position of the select control pop-up.
dialogPosition?ContextMenuPositionThe position of the pop-up context menu dialog spawned by the select control.

Returns

VNode

The rendered transition select control component, as a VNode.

Inherited from

SelectApproach.renderTransitionSelectControl


renderWaypointInput()

protected renderWaypointInput(): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:260

Renders the waypoint input component.

Returns

VNode

The rendered waypoint input component, as a VNode.

Inherited from

SelectApproach.renderWaypointInput


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.

Implementation of

MFDSelectProcedure.routeEventToControl

Inherited from

SelectApproach.routeEventToControl


setFacilityAndApproach()

setFacilityAndApproach(facility, approach): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:202

Sets the facility and approach input data for the select approach pane.

Parameters

ParameterTypeDescription
facilityAirportFacilityThe facility to set.
approachApproachProcedureThe approach to set.

Returns

void

Inherited from

SelectApproach.setFacilityAndApproach


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

Implementation of

MFDSelectProcedure.setScrollEnabled

Inherited from

SelectApproach.setScrollEnabled


sortApproaches()

protected sortApproaches(a, b): number

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/Approach/SelectApproach.tsx:166

Sorts approaches into the order they should appear in the approach list.

Parameters

ParameterTypeDescription
aApproachListItemAn approach list item.
bApproachListItemAn approach list item.

Returns

number

0 if the two approaches are to be sorted identically, a negative number if approach a is to be sorted before b, or a positive number if approach a is to be sorted after b.

Inherited from

SelectApproach.sortApproaches


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

Implementation of

MFDSelectProcedure.toggleScroll

Inherited from

SelectApproach.toggleScroll