Skip to main content

Class: MFDNearestPage<T, P>

A component that display a list of the nearest facilities with accompanying information and a map indicating the facilities location.

Type parameters

NameType
Textends Facility
Pextends MFDNearestPageProps = MFDNearestPageProps

Hierarchy

Constructors

constructor

new MFDNearestPage<T, P>(props): MFDNearestPage<T, P>

Creates an instance of a nearest facilities page.

Type parameters

NameType
Textends Facility
Pextends MFDNearestPageProps = MFDNearestPageProps

Parameters

NameTypeDescription
propsPThe props.

Returns

MFDNearestPage<T, P>

Overrides

MFDUiPage.constructor

Defined in

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

Properties

_title

Protected Readonly _title: Subject<string>

Inherited from

MFDUiPage._title

Defined in

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


context

Optional context: [] = undefined

The context on this component, if any.

Inherited from

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

MFDUiPage.contextType

Defined in

sdk/components/FSComponent.ts:67


data

Protected Readonly data: NearestSubscription<T>

Defined in

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


facilitiesGroup

Protected Readonly facilitiesGroup: NodeReference<FacilitiesGroup<T>>

Defined in

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


focusSubject

Protected focusSubject: Subject<boolean>

Inherited from

MFDUiPage.focusSubject

Defined in

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


inputData

inputData: Subject<any>

Inherited from

MFDUiPage.inputData

Defined in

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


isPaused

Protected isPaused: boolean

Inherited from

MFDUiPage.isPaused

Defined in

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


isSoftkeyMenuHidden

Protected isSoftkeyMenuHidden: boolean = false

Inherited from

MFDUiPage.isSoftkeyMenuHidden

Defined in

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


onAccept

onAccept: SubEventInterface<MFDNearestPage<T, P>, any>

Inherited from

MFDUiPage.onAccept

Defined in

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


onClose

onClose: SubEventInterface<MFDNearestPage<T, P>, void>

Inherited from

MFDUiPage.onClose

Defined in

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


onOpen

onOpen: SubEventInterface<MFDNearestPage<T, P>, void>

Inherited from

MFDUiPage.onOpen

Defined in

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


props

props: P & UiViewProps & ComponentProps

The properties of the component.

Inherited from

MFDUiPage.props

Defined in

sdk/components/FSComponent.ts:61


scrollController

Protected scrollController: ScrollController

Inherited from

MFDUiPage.scrollController

Defined in

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


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


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


viewContainerRef

Protected Readonly viewContainerRef: NodeReference<HTMLDivElement>

Inherited from

MFDUiPage.viewContainerRef

Defined in

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


viewResult

viewResult: any

Inherited from

MFDUiPage.viewResult

Defined in

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

Accessors

title

get title(): Subscribable<string>

The title of this page.

Returns

Subscribable<string>

Inherited from

MFDUiPage.title

Defined in

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

Methods

accept

accept(result?, closeView?): void

Confirms the view result and closes the view.

Parameters

NameTypeDefault valueDescription
result?anyundefinedProvide the view result if not already set.
closeViewbooleantrueIndicates if the view should be closed after confirming the result.

Returns

void

Inherited from

MFDUiPage.accept

Defined in

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


blur

blur(): void

Method to unfocus this control group

Returns

void

Inherited from

MFDUiPage.blur

Defined in

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


buildNearestSubscription

buildNearestSubscription(): NearestSubscription<T>

Builds a nearest subscription applicable for this nearest facilities page.

Returns

NearestSubscription<T>

Defined in

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


close

close(quickclose?): void

Closes the view.

Parameters

NameTypeDefault valueDescription
quickclosebooleanfalsebool stating whether to quickclose the child.

Returns

void

Inherited from

MFDUiPage.close

Defined in

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


destroy

destroy(): void

Destroys this component.

Returns

void

Inherited from

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

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

MFDUiPage.getContext

Defined in

sdk/components/FSComponent.ts:106


getFacilityGroupTitle

getFacilityGroupTitle(): string

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

Returns

string

Defined in

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


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

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

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

MFDUiPage.getIsFocused

Defined in

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


getPageClass

getPageClass(): string

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

Returns

string

Defined in

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


getSelectedGroup

getSelectedGroup(): G1000UiControl<G1000UiControlProps>

Gets the currently selected focus control group from the page.

Returns

G1000UiControl<G1000UiControlProps>

Defined in

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


notifyViewOpened

notifyViewOpened(): void

Notifies subscribers that the view has been opened.

Returns

void

Inherited from

MFDUiPage.notifyViewOpened

Defined in

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


onAfterRender

onAfterRender(thisNode): void

A callback that is called after the component is rendered.

Parameters

NameTypeDescription
thisNodeVNodeThe component's VNode.

Returns

void

Overrides

MFDUiPage.onAfterRender

Defined in

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


onBeforeRender

onBeforeRender(): void

Returns

void

Inherit Doc

Inherited from

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

MFDUiPage.onBlurred

Defined in

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


onDirectToPressed

onDirectToPressed(): boolean

This method is called when a PROC button event occurs.

Returns

boolean

whether the event was handled.

Inherited from

MFDUiPage.onDirectToPressed

Defined in

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


onFPLPressed

onFPLPressed(): boolean

This method is called when a FPL button event occurs.

Returns

boolean

whether the event was handled.

Inherited from

MFDUiPage.onFPLPressed

Defined in

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


onFacilitySelected

onFacilitySelected(facility): void

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

Parameters

NameTypeDescription
facilitynull | TThe facility that was selected.

Returns

void

Defined in

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


onFocused

onFocused(): void

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

Returns

void

Inherited from

MFDUiPage.onFocused

Defined in

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


onHomePressed

onHomePressed(): boolean

This method is called when a HOME button event occurs.

Returns

boolean

whether the event was handled.

Inherited from

MFDUiPage.onHomePressed

Defined in

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


onInputDataSet

onInputDataSet(input): void

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

Parameters

NameTypeDescription
inputanyThe data that was set.

Returns

void

Inherited from

MFDUiPage.onInputDataSet

Defined in

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


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

Inherited from

MFDUiPage.onInteractionEvent

Defined in

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


onMenuPressed

onMenuPressed(): boolean

This method is called when a MENU button event occurs.

Returns

boolean

whether the event was handled.

Inherited from

MFDUiPage.onMenuPressed

Defined in

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


onPROCPressed

onPROCPressed(): boolean

This method is called when a PROC button event occurs.

Returns

boolean

whether the event was handled.

Inherited from

MFDUiPage.onPROCPressed

Defined in

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


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

MFDUiPage.onScrollToggled

Defined in

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


onViewClosed

onViewClosed(): void

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

Returns

void

Overrides

MFDUiPage.onViewClosed

Defined in

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


onViewOpened

onViewOpened(): void

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

Returns

void

Overrides

MFDUiPage.onViewOpened

Defined in

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


onViewPaused

onViewPaused(): void

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

Returns

void

Inherited from

MFDUiPage.onViewPaused

Defined in

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


onViewResumed

onViewResumed(): void

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

Returns

void

Inherited from

MFDUiPage.onViewResumed

Defined in

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


open

open(): void

Opens the page.

Returns

void

Inherited from

MFDUiPage.open

Defined in

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


pause

pause(): void

Pauses the view (usually only called by ViewService).

Returns

void

Inherited from

MFDUiPage.pause

Defined in

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


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.

Overrides

MFDUiPage.processHEvent

Defined in

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


processScrollEvent

processScrollEvent(evt): boolean

Attempts to handle scroll events.

Parameters

NameTypeDescription
evtFmsHEventThe received event.

Returns

boolean

whether the event was handled.

Inherited from

MFDUiPage.processScrollEvent

Defined in

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


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

MFDUiPage.register

Defined in

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


render

render(): VNode

Render the component.

Returns

VNode

a VNode

Overrides

MFDUiPage.render

Defined in

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


renderGroups

renderGroups(): VNode

Renders the other groups to display on the page.

Returns

VNode

Defined in

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


resume

resume(): void

Resumes the view (usually only called by ViewService).

Returns

void

Inherited from

MFDUiPage.resume

Defined in

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


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

MFDUiPage.routeEventToControl

Defined in

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


setFilter

setFilter(): void

Sets the filter on the nearest subscription, if any.

Returns

void

Defined in

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


setInput

setInput(input): this

Set data on this view.

Parameters

NameTypeDescription
inputanyThe input data.

Returns

this

This view instance for chain commands.

Inherited from

MFDUiPage.setInput

Defined in

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


setScrollEnabled

setScrollEnabled(enabled): void

Sets the scroll enabled state

Parameters

NameTypeDescription
enabledbooleanindicating if scrolling should be enabled

Returns

void

Inherited from

MFDUiPage.setScrollEnabled

Defined in

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


setSoftkeyMenuHidden

setSoftkeyMenuHidden(hide): void

Sets whether the softkey menu is hidden.

Parameters

NameTypeDescription
hidebooleanWhether to hide the softkey menu.

Returns

void

Inherited from

MFDUiPage.setSoftkeyMenuHidden

Defined in

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


setZIndex

setZIndex(): void

This method has no effect.

Returns

void

Inherited from

MFDUiPage.setZIndex

Defined in

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


toggleScroll

toggleScroll(): void

Toggles the scroll highlighting

Returns

void

Inherited from

MFDUiPage.toggleScroll

Defined in

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