Class: AbstractMfdNrstPage<W, EntryType, P>
An abstract implementation of MfdNrstPage
that displays a list of nearest waypoints.
Type parameters
Name | Type |
---|---|
W | extends Waypoint = Waypoint |
EntryType | extends NearestWaypointEntry <W > = NearestWaypointEntry <W > |
P | extends AbstractMfdNrstPageProps = AbstractMfdNrstPageProps |
Hierarchy
↳
AbstractMfdNrstPage
Implements
MfdNrstPage
<P
>
Constructors
constructor
• new AbstractMfdNrstPage<W
, EntryType
, P
>(props
): AbstractMfdNrstPage
<W
, EntryType
, P
>
Creates an instance of a DisplayComponent.
Type parameters
Name | Type |
---|---|
W | extends Waypoint = Waypoint |
EntryType | extends NearestWaypointEntry <W > = NearestWaypointEntry <W > |
P | extends AbstractMfdNrstPageProps = AbstractMfdNrstPageProps |
Parameters
Name | Type | Description |
---|---|---|
props | P | The propertis of the component. |
Returns
AbstractMfdNrstPage
<W
, EntryType
, P
>
Inherited from
Defined in
src/sdk/components/FSComponent.ts:73
Properties
_iconSrc
• Protected
Readonly
_iconSrc: Subject
<string
>
Inherited from
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
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
Inherited from
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
Inherited from
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
Inherited from
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
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
Inherited from
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
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
Inherited from
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
Name | Type | Description |
---|---|---|
waypoint | W | A 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
Overrides
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
Name | Type | Description |
---|---|---|
time | number | The 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
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
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
Name | Type | Description |
---|---|---|
sizeMode | MfdPageSizeMode | The new size mode of this page's container. |
dimensions | Readonly <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
Overrides
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
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
Overrides
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
Name | Type | Description |
---|---|---|
occlusionType | UiViewOcclusionType | The new occlusion type applied to this page's parent UI view. |
Returns
void
Implementation of
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
Name | Type | Description |
---|---|---|
sizeMode | MfdPageSizeMode | This page's size mode. |
dimensions | Readonly <Omit <Float64Array , "set" | "sort" | "copyWithin" >> | This page's dimensions, as [width, height] in pixels. |
Returns
void
Implementation of
Overrides
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
Overrides
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
Name | Type | Description |
---|---|---|
sizeMode | MfdPageSizeMode | This page's new size mode. |
dimensions | Readonly <Omit <Float64Array , "set" | "sort" | "copyWithin" >> | This page's new dimensions, as [width, height] in pixels. |
Returns
void
Implementation of
Overrides
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
Overrides
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
Inherited from
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
Name | Type | Description |
---|---|---|
event | UiInteractionEvent | The 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
Inherited from
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
Name | Type | Description |
---|---|---|
time | number | The current real (operating system) time, as a Javascript timestamp. |
Returns
void
Implementation of
Overrides
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
Overrides
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
Name | Type | Description |
---|---|---|
data | EntryType | The nearest waypoint entry for which to render. |
index | number | The 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