Skip to main content

Class: SelectApproach<P>

A component for selecting approaches.

Type parameters

NameType
Pextends SelectApproachProps = SelectApproachProps

Hierarchy

Constructors

constructor

new SelectApproach<P>(props): SelectApproach<P>

Type parameters

NameType
Pextends SelectApproachProps = SelectApproachProps

Parameters

NameType
propsP

Returns

SelectApproach<P>

Inherit Doc

Inherited from

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

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.

Inherited from

UiControlGroup.context

Defined in

sdk/components/FSComponent.ts:64


contextType

Optional Readonly contextType: readonly [] = undefined

The type of context for this component, if any.

Inherited from

UiControlGroup.contextType

Defined in

sdk/components/FSComponent.ts:67


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


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


focusSubject

Protected focusSubject: Subject<boolean>

Inherited from

UiControlGroup.focusSubject

Defined in

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


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


props

props: P & ComponentProps

The properties of the component.

Inherited from

UiControlGroup.props

Defined in

sdk/components/FSComponent.ts:61


scrollController

Protected scrollController: ScrollController

Inherited from

UiControlGroup.scrollController

Defined in

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


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


store

Protected Readonly store: SelectApproachStore

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

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>

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>

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>

Defined in

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

Methods

blur

blur(): void

Method to unfocus this control group

Returns

void

Inherited from

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

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.

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
storeSelectApproachStoreThis component's data store.

Returns

SelectApproachController<SelectApproachStore>

An approach selection component controller.

Defined in

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


createStore

createStore(): SelectApproachStore

Creates an instance of an approach selection component data store.

Returns

SelectApproachStore

An approach selection component data store.

Defined in

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


destroy

destroy(): void

Destroys this component.

Returns

void

Inherited from

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

Inherited from

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

Inherited from

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

Inherited from

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

Inherited from

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

Inherited from

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

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

Defined in

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


onAfterRender

onAfterRender(node): void

A callback that is called after the component is rendered.

Parameters

NameTypeDescription
nodeVNodeThe component's VNode.

Returns

void

Overrides

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

Inherited from

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

Inherited from

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

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

Inherited from

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

Overrides

UiControlGroup.onInteractionEvent

Defined in

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


onScrollToggled

onScrollToggled(enabled): void

A method called when the control group scroll is toggled.

Parameters

NameTypeDescription
enabledbooleanif the scroll is enabled.

Returns

void

Inherited from

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

Inherited from

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

Inherited from

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

Inherited from

UiControlGroup.register

Defined in

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


render

render(): null | VNode

Renders the component.

Returns

null | VNode

A JSX element to be rendered.

Inherited from

UiControlGroup.render

Defined in

sdk/components/FSComponent.ts:93


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.

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.

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.

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.

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.

Inherited from

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

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

Inherited from

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

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

Inherited from

UiControlGroup.toggleScroll

Defined in

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