Class: MfdNrstVorPage
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/Pages/MfdNrstVorPage/MfdNrstVorPage.tsx:19
An MFD nearest VORs page.
Extends
Constructors
Constructor
new MfdNrstVorPage(
props):MfdNrstVorPage
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstFacilityPage.tsx:42
Creates a new instance of AbstractMfdNrstFacilityPage.
Parameters
| Parameter | Type | Description |
|---|---|---|
props | AbstractMfdNrstPageProps | This component's props. |
Returns
MfdNrstVorPage
Inherited from
AbstractMfdNrstFacilityPage.constructor
Properties
_iconSrc
protectedreadonly_iconSrc:Subject<string>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/AbstractMfdPage.ts:17
Inherited from
AbstractMfdNrstFacilityPage._iconSrc
_knobLabelState
protectedreadonly_knobLabelState:FilteredMapSubject<UiKnobId,string>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/AbstractMfdPage.ts:21
Inherited from
AbstractMfdNrstFacilityPage._knobLabelState
_selectedWaypoint
protectedreadonly_selectedWaypoint:Subject<null|FacilityWaypoint<VorFacility>>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:49
Inherited from
AbstractMfdNrstFacilityPage._selectedWaypoint
_title
protectedreadonly_title:Subject<string>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/AbstractMfdPage.ts:13
Inherited from
AbstractMfdNrstFacilityPage._title
context?
optionalcontext: [] =undefined
Defined in: src/sdk/components/FSComponent.ts:64
The context on this component, if any.
Inherited from
AbstractMfdNrstFacilityPage.context
contextType?
readonlyoptionalcontextType: readonly [] =undefined
Defined in: src/sdk/components/FSComponent.ts:67
The type of context for this component, if any.
Inherited from
AbstractMfdNrstFacilityPage.contextType
iconSrc
readonlyiconSrc:Subscribable<string>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/AbstractMfdPage.ts:19
The file path to this page's icon's image asset.
Inherited from
AbstractMfdNrstFacilityPage.iconSrc
isGpsDataFailedSub?
protectedoptionalisGpsDataFailedSub:Subscription
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstFacilityPage.tsx:36
Inherited from
AbstractMfdNrstFacilityPage.isGpsDataFailedSub
isOpen
protectedisOpen:boolean=false
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:61
Inherited from
AbstractMfdNrstFacilityPage.isOpen
isResumed
protectedisResumed:boolean=false
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:62
Inherited from
AbstractMfdNrstFacilityPage.isResumed
knobLabelState
readonlyknobLabelState:SubscribableMap<UiKnobId,string> &Subscribable<UiKnobRequestedLabelState>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/AbstractMfdPage.ts:23
The bezel rotary knob label state requested by this page.
Inherited from
AbstractMfdNrstFacilityPage.knobLabelState
lastUpdateTime?
protectedoptionallastUpdateTime:number
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:64
Inherited from
AbstractMfdNrstFacilityPage.lastUpdateTime
listItemLengthPx
protectedreadonlylistItemLengthPx:Subject<number>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:45
Inherited from
AbstractMfdNrstFacilityPage.listItemLengthPx
listItemSpacingPx
protectedreadonlylistItemSpacingPx:Subject<number>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:46
Inherited from
AbstractMfdNrstFacilityPage.listItemSpacingPx
listItemsPerPage
protectedreadonlylistItemsPerPage:Subject<number>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:47
Inherited from
AbstractMfdNrstFacilityPage.listItemsPerPage
listRef
protectedreadonlylistRef:NodeReference<UiNearestWaypointList<NearestWaypointEntry<FacilityWaypoint<VorFacility>> &DynamicListData>>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:44
Inherited from
AbstractMfdNrstFacilityPage.listRef
nearestContext?
protectedoptionalnearestContext:G3XNearestContext
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstFacilityPage.tsx:23
Inherited from
AbstractMfdNrstFacilityPage.nearestContext
nearestFacilitiesUpdateSub?
protectedoptionalnearestFacilitiesUpdateSub:Subscription
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstFacilityPage.tsx:35
Inherited from
AbstractMfdNrstFacilityPage.nearestFacilitiesUpdateSub
nearestSubscription?
protectedoptionalnearestSubscription:NearestSubscription<VorFacility>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstFacilityPage.tsx:24
Inherited from
AbstractMfdNrstFacilityPage.nearestSubscription
needTryFocusFirstListItem
protectedneedTryFocusFirstListItem:boolean=false
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstFacilityPage.tsx:33
Inherited from
AbstractMfdNrstFacilityPage.needTryFocusFirstListItem
planeHeadingTrue
protectedreadonlyplaneHeadingTrue:Subject<number>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:57
The true heading of the airplane, in degrees, or NaN if heading data is invalid.
Inherited from
AbstractMfdNrstFacilityPage.planeHeadingTrue
ppos
protectedreadonlyppos:GeoPointSubject
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:54
The position of the airplane.
Inherited from
AbstractMfdNrstFacilityPage.ppos
props
props:
AbstractMfdNrstPageProps&ComponentProps
Defined in: src/sdk/components/FSComponent.ts:61
The properties of the component.
Inherited from
AbstractMfdNrstFacilityPage.props
rootCssClass
protectedreadonlyrootCssClass:SetSubject<string>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:42
Inherited from
AbstractMfdNrstFacilityPage.rootCssClass
selectedWaypoint
readonlyselectedWaypoint:Subscribable<null|Waypoint>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:51
This page's selected waypoint.
Inherited from
AbstractMfdNrstFacilityPage.selectedWaypoint
title
readonlytitle:Subscribable<string>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/AbstractMfdPage.ts:15
This page's title.
Inherited from
AbstractMfdNrstFacilityPage.title
unitsSettingManager
protectedreadonlyunitsSettingManager:G3XUnitsUserSettingManager
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:59
Inherited from
AbstractMfdNrstFacilityPage.unitsSettingManager
waypointArray
protectedreadonlywaypointArray:NearestFacilityWaypointArray<VOR,NearestWaypointEntry<FacilityWaypoint<VorFacility>>>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstFacilityPage.tsx:26
Inherited from
AbstractMfdNrstFacilityPage.waypointArray
GPS_FAIL_CLEAR_LIST_DELAY
protectedreadonlystaticGPS_FAIL_CLEAR_LIST_DELAY:10000=10000
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:40
Inherited from
AbstractMfdNrstFacilityPage.GPS_FAIL_CLEAR_LIST_DELAY
UPDATE_INTERVAL
protectedreadonlystaticUPDATE_INTERVAL:1000=1000
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:39
Inherited from
AbstractMfdNrstFacilityPage.UPDATE_INTERVAL
Methods
createWaypointEntry()
protectedcreateWaypointEntry(waypoint):NearestWaypointEntry
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:166
Creates a waypoint entry for a nearest facility search result.
Parameters
| Parameter | Type | Description |
|---|---|---|
waypoint | FacilityWaypoint | A nearest facility search result, as a Waypoint. |
Returns
A waypoint entry for the specified nearest facility search result.
Inherited from
AbstractMfdNrstFacilityPage.createWaypointEntry
destroy()
destroy():
void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/Pages/MfdNrstVorPage/MfdNrstVorPage.tsx:85
Destroys this component.
Returns
void
Overrides
AbstractMfdNrstFacilityPage.destroy
doUpdate()
protecteddoUpdate(time):void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstFacilityPage.tsx:128
Updates this page.
Parameters
| Parameter | Type | Description |
|---|---|---|
time | number | The current real (operating system) time, as a Javascript timestamp. |
Returns
void
Inherited from
AbstractMfdNrstFacilityPage.doUpdate
getContext()
protectedgetContext(context):never
Defined in: src/sdk/components/FSComponent.ts:106
Gets a context data subscription from the context collection.
Parameters
| Parameter | 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.
Inherited from
AbstractMfdNrstFacilityPage.getContext
getNearestSubscription()
protectedgetNearestSubscription(context):NearestSubscription<VorFacility>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/Pages/MfdNrstVorPage/MfdNrstVorPage.tsx:52
Gets this page's nearest facilities subscription from a nearest context.
Parameters
| Parameter | Type | Description |
|---|---|---|
context | G3XNearestContext | A nearest context. |
Returns
NearestSubscription<VorFacility>
This page's nearest facilities subscription from the specified nearest context.
Overrides
AbstractMfdNrstFacilityPage.getNearestSubscription
getNoResultsText()
protectedgetNoResultsText():string|Subscribable<string>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:180
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.
Inherited from
AbstractMfdNrstFacilityPage.getNoResultsText
getWaypointArray()
protectedgetWaypointArray():SubscribableArray<NearestWaypointEntry<FacilityWaypoint<VorFacility>>>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstFacilityPage.tsx:186
Gets a subscribable array of nearest waypoints to display in this page's list.
Returns
SubscribableArray<NearestWaypointEntry<FacilityWaypoint<VorFacility>>>
A subscribable array of nearest waypoints to display in this page's list.
Inherited from
AbstractMfdNrstFacilityPage.getWaypointArray
handleResize()
protectedhandleResize(sizeMode,dimensions):void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:112
Handles potential changes in the size mode or dimensions of this page's container.
Parameters
| Parameter | Type | Description |
|---|---|---|
sizeMode | MfdPageSizeMode | The new size mode of this page's container. |
dimensions | ReadonlyFloat64Array | The new dimensions of this page's container, as [width, height] in pixels. |
Returns
void
Inherited from
AbstractMfdNrstFacilityPage.handleResize
initNearestSearch()
protectedinitNearestSearch():Promise<void>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstFacilityPage.tsx:51
Initializes this page's nearest waypoints search.
Returns
Promise<void>
Inherited from
AbstractMfdNrstFacilityPage.initNearestSearch
onAfterRender()
onAfterRender():
void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/Pages/MfdNrstVorPage/MfdNrstVorPage.tsx:28
A callback that is called after the component is rendered.
Returns
void
Overrides
AbstractMfdNrstFacilityPage.onAfterRender
onBeforeRender()
onBeforeRender():
void
Defined in: src/sdk/components/FSComponent.ts:80
A callback that is called before the component is rendered.
Returns
void
Inherited from
AbstractMfdNrstFacilityPage.onBeforeRender
onClose()
onClose():
void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/Pages/MfdNrstVorPage/MfdNrstVorPage.tsx:45
Responds to when this page is closed. A page is closed if it is no longer visible.
Returns
void
Overrides
AbstractMfdNrstFacilityPage.onClose
onOcclusionChange()
onOcclusionChange(
occlusionType):void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/AbstractMfdPage.ts:64
Responds to when the occlusion type applied to this page's parent UI view changes while this page is open.
Parameters
| Parameter | Type | Description |
|---|---|---|
occlusionType | UiViewOcclusionType | The new occlusion type applied to this page's parent UI view. |
Returns
void
Inherited from
AbstractMfdNrstFacilityPage.onOcclusionChange
onOpen()
onOpen(
sizeMode,dimensions):void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/Pages/MfdNrstVorPage/MfdNrstVorPage.tsx:38
Responds to when this page is opened. A page is opened if it has been selected, has become active, and is visible.
Parameters
| Parameter | Type | Description |
|---|---|---|
sizeMode | MfdPageSizeMode | This page's size mode. |
dimensions | ReadonlyFloat64Array | This page's dimensions, as [width, height] in pixels. |
Returns
void
Overrides
AbstractMfdNrstFacilityPage.onOpen
onPause()
onPause():
void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstFacilityPage.tsx:121
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
Inherited from
AbstractMfdNrstFacilityPage.onPause
onResize()
onResize(
sizeMode,dimensions):void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:102
Responds when this page's parent UI view is resized while it is resumed.
Parameters
| Parameter | Type | Description |
|---|---|---|
sizeMode | MfdPageSizeMode | This page's new size mode. |
dimensions | ReadonlyFloat64Array | This page's new dimensions, as [width, height] in pixels. |
Returns
void
Inherited from
AbstractMfdNrstFacilityPage.onResize
onResume()
onResume():
void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstFacilityPage.tsx:114
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
Inherited from
AbstractMfdNrstFacilityPage.onResume
onStage()
onStage():
void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/AbstractMfdPage.ts:26
Responds to when this page is staged. A page is staged if it has been selected.
Returns
void
Inherited from
AbstractMfdNrstFacilityPage.onStage
onUiInteractionEvent()
onUiInteractionEvent(
event):boolean
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:157
Handles a UiInteractionEvent.
Parameters
| Parameter | Type | Description |
|---|---|---|
event | UiInteractionEvent | The event to handle. |
Returns
boolean
Whether the event was handled.
Inherited from
AbstractMfdNrstFacilityPage.onUiInteractionEvent
onUnstage()
onUnstage():
void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/PageNavigation/AbstractMfdPage.ts:31
Responds to when this page is unstaged. A page is unstaged if it is no longer selected.
Returns
void
Inherited from
AbstractMfdNrstFacilityPage.onUnstage
onUpdate()
onUpdate(
time):void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:127
Called every update cycle.
Parameters
| Parameter | Type | Description |
|---|---|---|
time | number | The current real (operating system) time, as a Javascript timestamp. |
Returns
void
Inherited from
AbstractMfdNrstFacilityPage.onUpdate
openWaypointInfoPopup()
protectedopenWaypointInfoPopup(waypoint):void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstFacilityPage.tsx:176
Opens a waypoint information popup and sets it to display a waypoint.
Parameters
| Parameter | Type | Description |
|---|---|---|
waypoint | FacilityWaypoint | The waypoint for the popup to display. |
Returns
void
Inherited from
AbstractMfdNrstFacilityPage.openWaypointInfoPopup
reconcileListItemFocus()
protectedreconcileListItemFocus():void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstFacilityPage.tsx:147
Reconciles the UI focus state of this page's list. If the list is not empty, then the first item in the list will be focused if no other list item has UI focus. This operation is carried out immediately if this page is resumed and either positioning data is in a failed state or this page has been updated with a valid position for the player airplane. Otherwise, the operation is pended until the next update in which these conditions are met. If the list is empty, then no action is taken and any pending reconcilation operation is cancelled.
Returns
void
Inherited from
AbstractMfdNrstFacilityPage.reconcileListItemFocus
render()
render():
VNode
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:185
Renders the component.
Returns
A JSX element to be rendered.
Inherited from
AbstractMfdNrstFacilityPage.render
renderListItem()
protectedrenderListItem(data):VNode
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/Pages/MfdNrstVorPage/MfdNrstVorPage.tsx:57
Renders an item for this page's nearest waypoint list.
Parameters
| Parameter | Type | Description |
|---|---|---|
data | NearestWaypointEntry<FacilityWaypoint<VorFacility>> | The nearest waypoint entry for which to render. |
Returns
A nearest waypoint list item, as a VNode.
Overrides
AbstractMfdNrstFacilityPage.renderListItem
tryFocusFirstListItem()
protectedtryFocusFirstListItem():void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstFacilityPage.tsx:166
Attempts to focus the first item in this page's list if the list is not empty and no list item already has UI focus.
Returns
void
Inherited from
AbstractMfdNrstFacilityPage.tryFocusFirstListItem
updateAirplaneData()
protectedupdateAirplaneData():void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/NrstView/AbstractMfdNrstPage.tsx:151
Updates this page's airplane data.
Returns
void