Skip to main content

Class: MFDNearestAirportsPage

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

Hierarchy

Constructors

constructor

new MFDNearestAirportsPage(props): MFDNearestAirportsPage

Creates an instance of a nearest airport box.

Parameters

NameTypeDescription
propsMFDNearestPagePropsThe props.

Returns

MFDNearestAirportsPage

Overrides

MFDNearestPage.constructor

Defined in

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

Properties

_title

Protected Readonly _title: Subject<string>

Inherited from

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

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

MFDNearestPage.contextType

Defined in

sdk/components/FSComponent.ts:67


data

Protected Readonly data: NearestSubscription<AirportFacility>

Inherited from

MFDNearestPage.data

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

Inherited from

MFDNearestPage.facilitiesGroup

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

MFDNearestPage.focusSubject

Defined in

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


inputData

inputData: Subject<any>

Inherited from

MFDNearestPage.inputData

Defined in

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


isPaused

Protected isPaused: boolean

Inherited from

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

MFDNearestPage.isSoftkeyMenuHidden

Defined in

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


onAccept

onAccept: SubEventInterface<MFDNearestAirportsPage, any>

Inherited from

MFDNearestPage.onAccept

Defined in

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


onClose

onClose: SubEventInterface<MFDNearestAirportsPage, void>

Inherited from

MFDNearestPage.onClose

Defined in

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


onOpen

onOpen: SubEventInterface<MFDNearestAirportsPage, void>

Inherited from

MFDNearestPage.onOpen

Defined in

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


props

props: MFDNearestPageProps & UiViewProps & ComponentProps

The properties of the component.

Inherited from

MFDNearestPage.props

Defined in

sdk/components/FSComponent.ts:61


scrollController

Protected scrollController: ScrollController

Inherited from

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

Inherited from

MFDNearestPage.uiRoot

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>

Inherited from

MFDNearestPage.unitsSettingManager

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

MFDNearestPage.viewContainerRef

Defined in

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


viewResult

viewResult: any

Inherited from

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

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

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

MFDNearestPage.blur

Defined in

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


buildNearestSubscription

buildNearestSubscription(): NearestSubscription<AirportFacility>

Builds a nearest subscription applicable for this nearest facilities page.

Returns

NearestSubscription<AirportFacility>

Overrides

MFDNearestPage.buildNearestSubscription

Defined in

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


close

close(quickclose?): void

Closes the view.

Parameters

NameTypeDefault valueDescription
quickclosebooleanfalsebool stating whether to quickclose the child.

Returns

void

Inherited from

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

Overrides

MFDNearestPage.destroy

Defined in

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


focus

focus(dir?): void

Method to focus this control group

Parameters

NameTypeDefault valueDescription
dirEntryDirection'top'The direction of entry.

Returns

void

Inherited from

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

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

Overrides

MFDNearestPage.getFacilityGroupTitle

Defined in

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


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

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

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

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

Overrides

MFDNearestPage.getPageClass

Defined in

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


getSelectedGroup

getSelectedGroup(): G1000UiControl<G1000UiControlProps>

Gets the currently selected focus control group from the page.

Returns

G1000UiControl<G1000UiControlProps>

Overrides

MFDNearestPage.getSelectedGroup

Defined in

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


notifyViewOpened

notifyViewOpened(): void

Notifies subscribers that the view has been opened.

Returns

void

Inherited from

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

Inherited from

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

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

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

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

MFDNearestPage.onFPLPressed

Defined in

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


onFacilitySelected

onFacilitySelected(airport): void

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

Parameters

NameTypeDescription
airportnull | AirportFacilityThe facility that was selected.

Returns

void

Overrides

MFDNearestPage.onFacilitySelected

Defined in

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


onFocused

onFocused(): void

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

Returns

void

Inherited from

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

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

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

MFDNearestPage.onInteractionEvent

Defined in

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


onMenuPressed

onMenuPressed(): boolean

Opens the Page Menu popup when Menu button is pressed.

Returns

boolean

whether the event was handled.

Overrides

MFDNearestPage.onMenuPressed

Defined in

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


onPROCPressed

onPROCPressed(): boolean

This method is called when a PROC button event occurs.

Returns

boolean

whether the event was handled.

Inherited from

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

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

Inherited from

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

MFDNearestPage.onViewOpened

Defined in

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


onViewPaused

onViewPaused(): void

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

Returns

void

Inherited from

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

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

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

Overrides

MFDNearestPage.pause

Defined in

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


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

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

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

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

Inherited from

MFDNearestPage.render

Defined in

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


renderGroups

renderGroups(): VNode

Render the component.

Returns

VNode

a VNode

Overrides

MFDNearestPage.renderGroups

Defined in

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


resume

resume(): void

Resumes the view (usually only called by ViewService).

Returns

void

Overrides

MFDNearestPage.resume

Defined in

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


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

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

Overrides

MFDNearestPage.setFilter

Defined in

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


setInput

setInput(input): this

Set data on this view.

Parameters

NameTypeDescription
inputanyThe input data.

Returns

this

This view instance for chain commands.

Inherited from

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

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

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

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

MFDNearestPage.toggleScroll

Defined in

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