Skip to main content

Class: MFDSelectApproach

An MFD component for selecting approaches.

Hierarchy

Implements

Constructors

constructor

new MFDSelectApproach(props): MFDSelectApproach

Parameters

NameType
propsMFDSelectApproachProps

Returns

MFDSelectApproach

Inherit Doc

Inherited from

SelectApproach.constructor

Defined in

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

Properties

approachSelectRef

Protected Readonly approachSelectRef: NodeReference<SelectControl2<ApproachListItem>>

Inherited from

SelectApproach.approachSelectRef

Defined in

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


context

Optional context: [] = undefined

The context on this component, if any.

Implementation of

MFDSelectProcedure.context

Inherited from

SelectApproach.context

Defined in

sdk/components/FSComponent.ts:64


contextType

Optional Readonly contextType: readonly [] = undefined

The type of context for this component, if any.

Implementation of

MFDSelectProcedure.contextType

Inherited from

SelectApproach.contextType

Defined in

sdk/components/FSComponent.ts:67


controlPub

Protected Readonly controlPub: Publisher<ControlEvents>

Inherited from

SelectApproach.controlPub

Defined in

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


controller

Protected Readonly controller: SelectApproachController<SelectApproachStore>

Inherited from

SelectApproach.controller

Defined in

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


focusSubject

Protected focusSubject: Subject<boolean>

Implementation of

MFDSelectProcedure.focusSubject

Inherited from

SelectApproach.focusSubject

Defined in

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


minsToggleComponent

Protected Readonly minsToggleComponent: NodeReference<ArrowToggle>

Inherited from

SelectApproach.minsToggleComponent

Defined in

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


props

props: MFDSelectApproachProps & ComponentProps

The properties of the component.

Implementation of

MFDSelectProcedure.props

Inherited from

SelectApproach.props

Defined in

sdk/components/FSComponent.ts:61


scrollController

Protected scrollController: ScrollController

Implementation of

MFDSelectProcedure.scrollController

Inherited from

SelectApproach.scrollController

Defined in

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


sortedApproachSub

Protected Readonly sortedApproachSub: SortedMappedSubscribableArray<ApproachListItem>

Inherited from

SelectApproach.sortedApproachSub

Defined in

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


store

Protected Readonly store: SelectApproachStore

Inherited from

SelectApproach.store

Defined in

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


transitionSelectRef

Protected Readonly transitionSelectRef: NodeReference<SelectControl2<TransitionListItem>>

Inherited from

SelectApproach.transitionSelectRef

Defined in

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


APPROACH_RUNWAY_DESIGNATOR_PRIORITIES_FWD

Static Protected Readonly APPROACH_RUNWAY_DESIGNATOR_PRIORITIES_FWD: Record<RunwayDesignator, number>

Inherited from

SelectApproach.APPROACH_RUNWAY_DESIGNATOR_PRIORITIES_FWD

Defined in

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


APPROACH_RUNWAY_DESIGNATOR_PRIORITIES_REV

Static Protected Readonly APPROACH_RUNWAY_DESIGNATOR_PRIORITIES_REV: Record<RunwayDesignator, number>

Inherited from

SelectApproach.APPROACH_RUNWAY_DESIGNATOR_PRIORITIES_REV

Defined in

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


APPROACH_TYPE_PRIORITIES

Static Protected Readonly APPROACH_TYPE_PRIORITIES: Record<ExtendedApproachType, number>

Inherited from

SelectApproach.APPROACH_TYPE_PRIORITIES

Defined in

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

Methods

activate

activate(): void

Activates this component.

Returns

void

Implementation of

MFDSelectProcedure.activate

Defined in

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


blur

blur(): void

Method to unfocus this control group

Returns

void

Implementation of

MFDSelectProcedure.blur

Inherited from

SelectApproach.blur

Defined in

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


buildApprMenuItem

buildApprMenuItem(proc): ContextMenuItemDefinition

Builds a approach procedure menu item.

Parameters

NameTypeDescription
procApproachListItemThe approach procedure.

Returns

ContextMenuItemDefinition

A menu item definition.

Inherited from

SelectApproach.buildApprMenuItem

Defined in

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


buildTransMenuItem

buildTransMenuItem(trans): ContextMenuItemDefinition

Builds a transition menu item.

Parameters

NameTypeDescription
transTransitionListItemThe transition.

Returns

ContextMenuItemDefinition

A menu item definition.

Inherited from

SelectApproach.buildTransMenuItem

Defined in

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


createController

createController(store): SelectApproachController<SelectApproachStore>

Creates an instance of an approach selection component controller.

Parameters

NameTypeDescription
storeMFDSelectApproachStoreThis component's data store.

Returns

SelectApproachController<SelectApproachStore>

An approach selection component controller.

Overrides

SelectApproach.createController

Defined in

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


createStore

createStore(): MFDSelectApproachStore

Creates an instance of an approach selection component data store.

Returns

MFDSelectApproachStore

An approach selection component data store.

Overrides

SelectApproach.createStore

Defined in

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


deactivate

deactivate(): void

Deactivates this component.

Returns

void

Implementation of

MFDSelectProcedure.deactivate

Defined in

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


destroy

destroy(): void

Destroys this component.

Returns

void

Implementation of

MFDSelectProcedure.destroy

Inherited from

SelectApproach.destroy

Defined in

sdk/components/FSComponent.ts:98


focus

focus(dir?): void

Method to focus this control group

Parameters

NameTypeDefault valueDescription
dirEntryDirection'top'The direction of entry.

Returns

void

Implementation of

MFDSelectProcedure.focus

Inherited from

SelectApproach.focus

Defined in

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


getContext

getContext(context): never

Gets a context data subscription from the context collection.

Parameters

NameTypeDescription
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

Defined in

sdk/components/FSComponent.ts:106


getHighlightElement

getHighlightElement(): null | Element

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

Defined in

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


getIsFocusable

getIsFocusable(): boolean

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

Returns

boolean

true

Implementation of

MFDSelectProcedure.getIsFocusable

Inherited from

SelectApproach.getIsFocusable

Defined in

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


getIsFocused

getIsFocused(): boolean

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

Defined in

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


gotoNextSelect

gotoNextSelect(): void

Goto and activate next select control.

Returns

void

Inherited from

SelectApproach.gotoNextSelect

Defined in

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


initDefaults

initDefaults(): void

Initializes the default approach selection page display.

Returns

void

Inherited from

SelectApproach.initDefaults

Defined in

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


onActivateExecuted

onActivateExecuted(): void

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

Returns

void

Defined in

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


onAfterRender

onAfterRender(node): void

A callback that is called after the component is rendered.

Parameters

NameTypeDescription
nodeVNodeThe component's VNode.

Returns

void

Implementation of

MFDSelectProcedure.onAfterRender

Inherited from

SelectApproach.onAfterRender

Defined in

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


onBeforeRender

onBeforeRender(): void

Returns

void

Inherit Doc

Implementation of

MFDSelectProcedure.onBeforeRender

Inherited from

SelectApproach.onBeforeRender

Defined in

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


onBlurred

onBlurred(): void

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

Returns

void

Implementation of

MFDSelectProcedure.onBlurred

Inherited from

SelectApproach.onBlurred

Defined in

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


onEnterPressedAdvance

onEnterPressedAdvance(): boolean

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

Defined in

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


onFocused

onFocused(): void

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

Returns

void

Implementation of

MFDSelectProcedure.onFocused

Inherited from

SelectApproach.onFocused

Defined in

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


onInteractionEvent

onInteractionEvent(evt): boolean

Handler for interaction events to be handled by the view.

Parameters

NameTypeDescription
evtFmsHEventThe HEvenet.

Returns

boolean

true if the event was handled in this group

Implementation of

MFDSelectProcedure.onInteractionEvent

Inherited from

SelectApproach.onInteractionEvent

Defined in

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


onLoadExecuted

onLoadExecuted(): void

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

Returns

void

Defined in

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


onScrollToggled

onScrollToggled(enabled): void

A method called when the control group scroll is toggled.

Parameters

NameTypeDescription
enabledbooleanif the scroll is enabled.

Returns

void

Implementation of

MFDSelectProcedure.onScrollToggled

Inherited from

SelectApproach.onScrollToggled

Defined in

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


processHEvent

processHEvent(evt): boolean

Handles HEvents and routes them to the subdialog when existant.

Parameters

NameTypeDescription
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

Defined in

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


processScrollEvent

processScrollEvent(evt): boolean

Attempts to handle scroll events.

Parameters

NameTypeDescription
evtFmsHEventThe received event.

Returns

boolean

whether the event was handled.

Implementation of

MFDSelectProcedure.processScrollEvent

Inherited from

SelectApproach.processScrollEvent

Defined in

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


register

register(ctrl, unregister?): void

Register/Unregisters a UiControl with the scroll controller.

Parameters

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

Returns

void

Implementation of

MFDSelectProcedure.register

Inherited from

SelectApproach.register

Defined in

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


render

render(): VNode

Renders the component.

Returns

VNode

The component VNode.

Implementation of

MFDSelectProcedure.render

Overrides

SelectApproach.render

Defined in

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


renderApproachSelectControl

renderApproachSelectControl(container, dialogPosition?): VNode

Renders the approach select control component.

Parameters

NameTypeDescription
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

Defined in

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


renderMinimumsNumberInput

renderMinimumsNumberInput(cssClass?): VNode

Renders the minimums number input component.

Parameters

NameTypeDescription
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

Defined in

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


renderTransitionSelectControl

renderTransitionSelectControl(container, dialogPosition?): VNode

Renders the transition select control component.

Parameters

NameTypeDescription
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

Defined in

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


renderWaypointInput

renderWaypointInput(): VNode

Renders the waypoint input component.

Returns

VNode

The rendered waypoint input component, as a VNode.

Inherited from

SelectApproach.renderWaypointInput

Defined in

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


routeEventToControl

routeEventToControl(evt, control): boolean

Routes an interaction event to a UiControl.

Parameters

NameTypeDescription
evtFmsHEventAn interaction event.
controlUiControl<UiControlProps>The 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

Defined in

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


setFacilityAndApproach

setFacilityAndApproach(facility, approach): void

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

Parameters

NameTypeDescription
facilityAirportFacilityThe facility to set.
approachApproachProcedureThe approach to set.

Returns

void

Inherited from

SelectApproach.setFacilityAndApproach

Defined in

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


setScrollEnabled

setScrollEnabled(enabled): void

Sets the scroll enabled state

Parameters

NameTypeDescription
enabledbooleanindicating if scrolling should be enabled

Returns

void

Implementation of

MFDSelectProcedure.setScrollEnabled

Inherited from

SelectApproach.setScrollEnabled

Defined in

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


sortApproaches

sortApproaches(a, b): number

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

Parameters

NameTypeDescription
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

Defined in

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


toggleScroll

toggleScroll(): void

Toggles the scroll highlighting

Returns

void

Implementation of

MFDSelectProcedure.toggleScroll

Inherited from

SelectApproach.toggleScroll

Defined in

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