Class: MFDSelectApproach
An MFD component for selecting approaches.
Hierarchy
SelectApproach
<MFDSelectApproachProps
>↳
MFDSelectApproach
Implements
Constructors
constructor
• new MFDSelectApproach(props
): MFDSelectApproach
Parameters
Name | Type |
---|---|
props | MFDSelectApproachProps |
Returns
Inherit Doc
Inherited from
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
Inherited from
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
Defined in
sdk/components/FSComponent.ts:67
controlPub
• Protected
Readonly
controlPub: Publisher
<ControlEvents
>
Inherited from
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
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
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
Inherited from
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
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
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
Inherited from
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
Name | Type | Description |
---|---|---|
proc | ApproachListItem | The approach procedure. |
Returns
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
Name | Type | Description |
---|---|---|
trans | TransitionListItem | The transition. |
Returns
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
Name | Type | Description |
---|---|---|
store | MFDSelectApproachStore | This 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
An approach selection component data store.
Overrides
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
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
Inherited from
Defined in
sdk/components/FSComponent.ts:98
focus
▸ focus(dir?
): void
Method to focus this control group
Parameters
Name | Type | Default value | Description |
---|---|---|---|
dir | EntryDirection | 'top' | The direction of entry. |
Returns
void
Implementation of
Inherited from
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
Name | Type | Description |
---|---|---|
context | never | The 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
Inherited from
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
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
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
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
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
Name | Type | Description |
---|---|---|
node | VNode | The component's VNode. |
Returns
void
Implementation of
MFDSelectProcedure.onAfterRender
Inherited from
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
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
Inherited from
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
Inherited from
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
Name | Type | Description |
---|---|---|
evt | FmsHEvent | The 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
Name | Type | Description |
---|---|---|
enabled | boolean | if 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
Name | Type | Description |
---|---|---|
evt | FmsHEvent | The received event. |
Returns
boolean
true if the event was handled in this control group, false otherwise.
Implementation of
MFDSelectProcedure.processHEvent
Inherited from
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
Name | Type | Description |
---|---|---|
evt | FmsHEvent | The 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
Name | Type | Default value | Description |
---|---|---|---|
ctrl | ScrollableControl | undefined | The UiControl to register. |
unregister | boolean | false | Indicates if the UiControl should be unregistered. |
Returns
void
Implementation of
Inherited from
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
Overrides
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
Name | Type | Description |
---|---|---|
container | NodeReference <HTMLElement > | A reference to the container that constrains the position of the select control pop-up. |
dialogPosition? | ContextMenuPosition | The 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
Name | Type | Description |
---|---|---|
cssClass? | string | CSS 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
Name | Type | Description |
---|---|---|
container | NodeReference <HTMLElement > | A reference to the container that constrains the position of the select control pop-up. |
dialogPosition? | ContextMenuPosition | The 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
Name | Type | Description |
---|---|---|
evt | FmsHEvent | An interaction event. |
control | UiControl <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
Name | Type | Description |
---|---|---|
facility | AirportFacility | The facility to set. |
approach | ApproachProcedure | The 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
Name | Type | Description |
---|---|---|
enabled | boolean | indicating 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
Name | Type | Description |
---|---|---|
a | ApproachListItem | An approach list item. |
b | ApproachListItem | An 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
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
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:104