Skip to main content

Class: AbstractMfdNrstPage<W, EntryType, P>

An abstract implementation of MfdNrstPage that displays a list of nearest waypoints.

Type parameters

NameType
Wextends Waypoint = Waypoint
EntryTypeextends NearestWaypointEntry<W> = NearestWaypointEntry<W>
Pextends AbstractMfdNrstPageProps = AbstractMfdNrstPageProps

Hierarchy

Implements

Constructors

constructor

new AbstractMfdNrstPage<W, EntryType, P>(props): AbstractMfdNrstPage<W, EntryType, P>

Creates an instance of a DisplayComponent.

Type parameters

NameType
Wextends Waypoint = Waypoint
EntryTypeextends NearestWaypointEntry<W> = NearestWaypointEntry<W>
Pextends AbstractMfdNrstPageProps = AbstractMfdNrstPageProps

Parameters

NameTypeDescription
propsPThe propertis of the component.

Returns

AbstractMfdNrstPage<W, EntryType, P>

Inherited from

AbstractMfdPage.constructor

Defined in

src/sdk/components/FSComponent.ts:73

Properties

_iconSrc

Protected Readonly _iconSrc: Subject<string>

Inherited from

AbstractMfdPage._iconSrc

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/PageNavigation/AbstractMfdPage.ts:17


_knobLabelState

Protected Readonly _knobLabelState: FilteredMapSubject<UiKnobId, string>

Inherited from

AbstractMfdPage._knobLabelState

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/PageNavigation/AbstractMfdPage.ts:21


_selectedWaypoint

Protected Readonly _selectedWaypoint: Subject<null | W>

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:49


_title

Protected Readonly _title: Subject<string>

Inherited from

AbstractMfdPage._title

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/PageNavigation/AbstractMfdPage.ts:13


context

Optional context: [] = undefined

The context on this component, if any.

Implementation of

MfdNrstPage.context

Inherited from

AbstractMfdPage.context

Defined in

src/sdk/components/FSComponent.ts:64


contextType

Optional Readonly contextType: readonly [] = undefined

The type of context for this component, if any.

Implementation of

MfdNrstPage.contextType

Inherited from

AbstractMfdPage.contextType

Defined in

src/sdk/components/FSComponent.ts:67


iconSrc

Readonly iconSrc: Subscribable<string>

The file path to this page's icon's image asset.

Implementation of

MfdNrstPage.iconSrc

Inherited from

AbstractMfdPage.iconSrc

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/PageNavigation/AbstractMfdPage.ts:19


isOpen

Protected isOpen: boolean = false

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:61


isResumed

Protected isResumed: boolean = false

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:62


knobLabelState

Readonly knobLabelState: SubscribableMap<UiKnobId, string> & Subscribable<UiKnobRequestedLabelState>

The bezel rotary knob label state requested by this page.

Implementation of

MfdNrstPage.knobLabelState

Inherited from

AbstractMfdPage.knobLabelState

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/PageNavigation/AbstractMfdPage.ts:23


lastUpdateTime

Protected Optional lastUpdateTime: number

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:64


listItemLengthPx

Protected Readonly listItemLengthPx: Subject<number>

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:45


listItemSpacingPx

Protected Readonly listItemSpacingPx: Subject<number>

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:46


listItemsPerPage

Protected Readonly listItemsPerPage: Subject<number>

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:47


listRef

Protected Readonly listRef: NodeReference<UiNearestWaypointList<EntryType & DynamicListData>>

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:44


planeHeadingTrue

Protected Readonly planeHeadingTrue: Subject<number>

The true heading of the airplane, in degrees, or NaN if heading data is invalid.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:57


ppos

Protected Readonly ppos: GeoPointSubject

The position of the airplane.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:54


props

props: P & ComponentProps

The properties of the component.

Implementation of

MfdNrstPage.props

Inherited from

AbstractMfdPage.props

Defined in

src/sdk/components/FSComponent.ts:61


rootCssClass

Protected Readonly rootCssClass: SetSubject<string>

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:42


selectedWaypoint

Readonly selectedWaypoint: Subscribable<null | Waypoint>

This page's selected waypoint.

Implementation of

MfdNrstPage.selectedWaypoint

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:51


title

Readonly title: Subscribable<string>

This page's title.

Implementation of

MfdNrstPage.title

Inherited from

AbstractMfdPage.title

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/PageNavigation/AbstractMfdPage.ts:15


unitsSettingManager

Protected Readonly unitsSettingManager: G3XUnitsUserSettingManager

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:59


GPS_FAIL_CLEAR_LIST_DELAY

Static Protected Readonly GPS_FAIL_CLEAR_LIST_DELAY: 10000

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:40


UPDATE_INTERVAL

Static Protected Readonly UPDATE_INTERVAL: 1000

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:39

Methods

createWaypointEntry

createWaypointEntry(waypoint): EntryType

Creates a waypoint entry for a nearest facility search result.

Parameters

NameTypeDescription
waypointWA nearest facility search result, as a Waypoint.

Returns

EntryType

A waypoint entry for the specified nearest facility search result.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:166


destroy

destroy(): void

Destroys this component.

Returns

void

Implementation of

MfdNrstPage.destroy

Overrides

AbstractMfdPage.destroy

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:213


doUpdate

doUpdate(time): void

Updates this page.

Parameters

NameTypeDescription
timenumberThe current real (operating system) time, as a Javascript timestamp.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:144


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.

Implementation of

MfdNrstPage.getContext

Inherited from

AbstractMfdPage.getContext

Defined in

src/sdk/components/FSComponent.ts:106


getNoResultsText

getNoResultsText(): string | Subscribable<string>

Gets the text to show when no nearest waypoints are available to display.

Returns

string | Subscribable<string>

The text to show when no nearest waypoints are available to display.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:180


getWaypointArray

getWaypointArray(): SubscribableArray<EntryType>

Gets a subscribable array of nearest waypoints to display in this page's list.

Returns

SubscribableArray<EntryType>

A subscribable array of nearest waypoints to display in this page's list.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:174


handleResize

handleResize(sizeMode, dimensions): void

Handles potential changes in the size mode or dimensions of this page's container.

Parameters

NameTypeDescription
sizeModeMfdPageSizeModeThe new size mode of this page's container.
dimensionsReadonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>The new dimensions of this page's container, as [width, height] in pixels.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:112


onAfterRender

onAfterRender(): void

A callback that is called after the component is rendered.

Returns

void

Implementation of

MfdNrstPage.onAfterRender

Overrides

AbstractMfdPage.onAfterRender

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:67


onBeforeRender

onBeforeRender(): void

A callback that is called before the component is rendered.

Returns

void

Implementation of

MfdNrstPage.onBeforeRender

Inherited from

AbstractMfdPage.onBeforeRender

Defined in

src/sdk/components/FSComponent.ts:80


onClose

onClose(): void

Responds to when this page is closed. A page is closed if it is no longer visible.

Returns

void

Implementation of

MfdNrstPage.onClose

Overrides

AbstractMfdPage.onClose

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:86


onOcclusionChange

onOcclusionChange(occlusionType): void

Responds to when the occlusion type applied to this page's parent UI view changes while this page is open.

Parameters

NameTypeDescription
occlusionTypeUiViewOcclusionTypeThe new occlusion type applied to this page's parent UI view.

Returns

void

Implementation of

MfdNrstPage.onOcclusionChange

Inherited from

AbstractMfdPage.onOcclusionChange

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/PageNavigation/AbstractMfdPage.ts:64


onOpen

onOpen(sizeMode, dimensions): void

Responds to when this page is opened. A page is opened if it has been selected, has become active, and is visible.

Parameters

NameTypeDescription
sizeModeMfdPageSizeModeThis page's size mode.
dimensionsReadonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>This page's dimensions, as [width, height] in pixels.

Returns

void

Implementation of

MfdNrstPage.onOpen

Overrides

AbstractMfdPage.onOpen

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:80


onPause

onPause(): void

Responds to when this page is paused. A page is paused if it is no longer open as the top-most view in its view stack.

Returns

void

Implementation of

MfdNrstPage.onPause

Overrides

AbstractMfdPage.onPause

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:97


onResize

onResize(sizeMode, dimensions): void

Responds when this page's parent UI view is resized while it is resumed.

Parameters

NameTypeDescription
sizeModeMfdPageSizeModeThis page's new size mode.
dimensionsReadonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>This page's new dimensions, as [width, height] in pixels.

Returns

void

Implementation of

MfdNrstPage.onResize

Overrides

AbstractMfdPage.onResize

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:102


onResume

onResume(): void

Responds to when this page is resumed. A page is resumed when it has been opened as part of the top-most view in its view stack.

Returns

void

Implementation of

MfdNrstPage.onResume

Overrides

AbstractMfdPage.onResume

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:92


onStage

onStage(): void

Responds to when this page is staged. A page is staged if it has been selected.

Returns

void

Implementation of

MfdNrstPage.onStage

Inherited from

AbstractMfdPage.onStage

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/PageNavigation/AbstractMfdPage.ts:26


onUiInteractionEvent

onUiInteractionEvent(event): boolean

Handles a UiInteractionEvent.

Parameters

NameTypeDescription
eventUiInteractionEventThe event to handle.

Returns

boolean

Whether the event was handled.

Implementation of

MfdNrstPage.onUiInteractionEvent

Overrides

AbstractMfdPage.onUiInteractionEvent

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:157


onUnstage

onUnstage(): void

Responds to when this page is unstaged. A page is unstaged if it is no longer selected.

Returns

void

Implementation of

MfdNrstPage.onUnstage

Inherited from

AbstractMfdPage.onUnstage

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/PageNavigation/AbstractMfdPage.ts:31


onUpdate

onUpdate(time): void

Called every update cycle.

Parameters

NameTypeDescription
timenumberThe current real (operating system) time, as a Javascript timestamp.

Returns

void

Implementation of

MfdNrstPage.onUpdate

Overrides

AbstractMfdPage.onUpdate

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:127


render

render(): VNode

Renders the component.

Returns

VNode

A JSX element to be rendered.

Implementation of

MfdNrstPage.render

Overrides

AbstractMfdPage.render

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:185


renderListItem

renderListItem(data, index): VNode

Renders an item for this page's nearest waypoint list.

Parameters

NameTypeDescription
dataEntryTypeThe nearest waypoint entry for which to render.
indexnumberThe index of the item.

Returns

VNode

A nearest waypoint list item, as a VNode.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:210


updateAirplaneData

updateAirplaneData(): void

Updates this page's airplane data.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/NrstView/AbstractMfdNrstPage.tsx:151