Skip to main content

Class: MFDNearestNdbsPage

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestNDBsPage.tsx:10

A page that displays the nearest intersections and related information on the MFD.

Extends

Constructors

Constructor

new MFDNearestNdbsPage(props): MFDNearestNdbsPage

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestPage.tsx:147

Creates an instance of a nearest facilities page.

Parameters

ParameterTypeDescription
propsMFDNearestPagePropsThe props.

Returns

MFDNearestNdbsPage

Inherited from

MFDNearestPage.constructor

Properties

_title

protected readonly _title: Subject<string>

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

Inherited from

MFDNearestPage._title


context?

optional context: [] = undefined

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

The context on this component, if any.

Inherited from

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

MFDNearestPage.contextType


data

protected readonly data: NearestSubscription<NdbFacility>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestPage.tsx:62

Inherited from

MFDNearestPage.data


facilitiesGroup

protected readonly facilitiesGroup: NodeReference<FacilitiesGroup<NdbFacility>>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestPage.tsx:60

Inherited from

MFDNearestPage.facilitiesGroup


focusSubject

protected focusSubject: Subject<boolean>

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

Inherited from

MFDNearestPage.focusSubject


inputData

inputData: Subject<any>

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

Inherited from

MFDNearestPage.inputData


isPaused

protected isPaused: boolean

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

Inherited from

MFDNearestPage.isPaused


isSoftkeyMenuHidden

protected isSoftkeyMenuHidden: boolean = false

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/MFDUiPage.tsx:22

Inherited from

MFDNearestPage.isSoftkeyMenuHidden


onAccept

onAccept: SubEventInterface<MFDNearestNdbsPage, any>

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

Inherited from

MFDNearestPage.onAccept


onClose

onClose: SubEventInterface<MFDNearestNdbsPage, void>

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

Inherited from

MFDNearestPage.onClose


onOpen

onOpen: SubEventInterface<MFDNearestNdbsPage, void>

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

Inherited from

MFDNearestPage.onOpen


props

props: MFDNearestPageProps & UiViewProps & ComponentProps

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

The properties of the component.

Inherited from

MFDNearestPage.props


scrollController

protected scrollController: ScrollController

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

Inherited from

MFDNearestPage.scrollController


uiRoot

protected readonly uiRoot: NodeReference<G1000UiControl<G1000UiControlProps>>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestPage.tsx:59

Inherited from

MFDNearestPage.uiRoot


unitsSettingManager

protected readonly unitsSettingManager: UnitsUserSettingManager<UnitsUserSettingTypes>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestPage.tsx:57

Inherited from

MFDNearestPage.unitsSettingManager


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

MFDNearestPage.viewContainerRef


viewResult

viewResult: any

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

Inherited from

MFDNearestPage.viewResult

Accessors

title

Get Signature

get title(): Subscribable<string>

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

The title of this page.

Returns

Subscribable<string>

Inherited from

MFDNearestPage.title

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?anyundefinedProvide the view result if not already set.
closeView?booleantrueIndicates if the view should be closed after confirming the result.

Returns

void

Inherited from

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

MFDNearestPage.blur


buildNearestSubscription()

protected buildNearestSubscription(): NearestSubscription<NdbFacility>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestNDBsPage.tsx:31

Builds a nearest subscription applicable for this nearest facilities page.

Returns

NearestSubscription<NdbFacility>

Overrides

MFDNearestPage.buildNearestSubscription


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

MFDNearestPage.close


destroy()

destroy(): void

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

Destroys this component.

Returns

void

Inherited from

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

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

MFDNearestPage.getContext


getFacilityGroupTitle()

protected getFacilityGroupTitle(): string

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestNDBsPage.tsx:26

Gets the title that should be displayed above the facility selection group.

Returns

string

Overrides

MFDNearestPage.getFacilityGroupTitle


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

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

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

MFDNearestPage.getIsFocused


getPageClass()

protected getPageClass(): string

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestNDBsPage.tsx:21

Gets the class to add to the page display for the groups.

Returns

string

Overrides

MFDNearestPage.getPageClass


getSelectedGroup()

protected getSelectedGroup(): G1000UiControl<G1000UiControlProps>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestNDBsPage.tsx:16

Gets the currently selected focus control group from the page.

Returns

G1000UiControl<G1000UiControlProps>

Overrides

MFDNearestPage.getSelectedGroup


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

MFDNearestPage.notifyViewOpened


onAfterRender()

onAfterRender(thisNode): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestPage.tsx:177

A callback that is called after the component is rendered.

Parameters

ParameterTypeDescription
thisNodeVNodeThe component's VNode.

Returns

void

Inherited from

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

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

MFDNearestPage.onBlurred


onDirectToPressed()

protected onDirectToPressed(): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/MFDUiPage.tsx:90

This method is called when a PROC button event occurs.

Returns

boolean

whether the event was handled.

Inherited from

MFDNearestPage.onDirectToPressed


onFacilitySelected()

protected onFacilitySelected(facility): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestNDBsPage.tsx:36

A callback called when a facility is selected from the nearest facilities group.

Parameters

ParameterTypeDescription
facilityNdbFacilityThe facility that was selected.

Returns

void

Overrides

MFDNearestPage.onFacilitySelected


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

MFDNearestPage.onFocused


onFPLPressed()

protected onFPLPressed(): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/MFDUiPage.tsx:99

This method is called when a FPL button event occurs.

Returns

boolean

whether the event was handled.

Inherited from

MFDNearestPage.onFPLPressed


onHomePressed()

protected onHomePressed(): boolean

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

This method is called when a HOME button event occurs.

Returns

boolean

whether the event was handled.

Inherited from

MFDNearestPage.onHomePressed


onInputDataSet()

protected onInputDataSet(input): void

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

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

Parameters

ParameterTypeDescription
inputanyThe data that was set.

Returns

void

Inherited from

MFDNearestPage.onInputDataSet


onInteractionEvent()

onInteractionEvent(evt): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/MFDUiPage.tsx:44

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

MFDNearestPage.onInteractionEvent


onMenuPressed()

protected onMenuPressed(): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/MFDUiPage.tsx:73

This method is called when a MENU button event occurs.

Returns

boolean

whether the event was handled.

Inherited from

MFDNearestPage.onMenuPressed


onPROCPressed()

protected onPROCPressed(): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/MFDUiPage.tsx:108

This method is called when a PROC button event occurs.

Returns

boolean

whether the event was handled.

Inherited from

MFDNearestPage.onPROCPressed


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

MFDNearestPage.onScrollToggled


onViewClosed()

onViewClosed(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestPage.tsx:167

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

Returns

void

Inherited from

MFDNearestPage.onViewClosed


onViewOpened()

onViewOpened(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestNDBsPage.tsx:44

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

Returns

void

Overrides

MFDNearestPage.onViewOpened


onViewPaused()

protected onViewPaused(): void

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

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

Returns

void

Inherited from

MFDNearestPage.onViewPaused


onViewResumed()

protected onViewResumed(): void

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

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

Returns

void

Inherited from

MFDNearestPage.onViewResumed


open()

open(): void

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

Opens the page.

Returns

void

Inherited from

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

MFDNearestPage.pause


processHEvent()

processHEvent(evt): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestPage.tsx:183

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

MFDNearestPage.processHEvent


processScrollEvent()

protected processScrollEvent(evt): boolean

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

Attempts to handle scroll events.

Parameters

ParameterTypeDescription
evtFmsHEventThe received event.

Returns

boolean

whether the event was handled.

Inherited from

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

MFDNearestPage.register


render()

render(): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestPage.tsx:269

Render the component.

Returns

VNode

a VNode

Inherited from

MFDNearestPage.render


renderGroups()

protected renderGroups(): VNode

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestNDBsPage.tsx:52

Renders the other groups to display on the page.

Returns

VNode

Overrides

MFDNearestPage.renderGroups


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

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

MFDNearestPage.routeEventToControl


setFilter()

protected setFilter(): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Nearest/MFDNearestPage.tsx:242

Sets the filter on the nearest subscription, if any.

Returns

void

Inherited from

MFDNearestPage.setFilter


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
inputanyThe input data.

Returns

this

This view instance for chain commands.

Inherited from

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

MFDNearestPage.setScrollEnabled


setSoftkeyMenuHidden()

protected setSoftkeyMenuHidden(hide): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/MFDUiPage.tsx:125

Sets whether the softkey menu is hidden.

Parameters

ParameterTypeDescription
hidebooleanWhether to hide the softkey menu.

Returns

void

Inherited from

MFDNearestPage.setSoftkeyMenuHidden


setZIndex()

setZIndex(): void

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

This method has no effect.

Returns

void

Inherited from

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

MFDNearestPage.toggleScroll