Class: GtcUserWaypointInfoPage
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcUserWaypointInfoPage.tsx:53
A GTC user waypoint information page.
Extends
GtcWaypointInfoPage
<FacilitySearchType.User
,GtcUserWaypointInfoPageProps
>
Constructors
Constructor
new GtcUserWaypointInfoPage(
props
):GtcUserWaypointInfoPage
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:117
Constructor.
Parameters
Parameter | Type | Description |
---|---|---|
props | GtcUserWaypointInfoPageProps | This component's props. |
Returns
GtcUserWaypointInfoPage
Throws
Error if a display pane index is not defined for this view.
Inherited from
GtcWaypointInfoPage
.constructor
Properties
_activeComponent
protected
readonly
_activeComponent:Subject
<null
|GtcInteractionHandler
>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:34
Inherited from
GtcWaypointInfoPage
._activeComponent
_sidebarState
protected
readonly
_sidebarState:GtcSidebarState
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:36
Inherited from
GtcWaypointInfoPage
._sidebarState
_title
protected
readonly
_title:Subject
<undefined
|string
>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:40
Inherited from
bus
protected
readonly
bus:EventBus
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:31
Inherited from
context?
optional
context: [] =undefined
Defined in: sdk/components/FSComponent.ts:64
The context on this component, if any.
Inherited from
contextType?
readonly
optional
contextType: readonly [] =undefined
Defined in: sdk/components/FSComponent.ts:67
The type of context for this component, if any.
Inherited from
GtcWaypointInfoPage
.contextType
displayPaneIndex
protected
readonly
displayPaneIndex:ControllableDisplayPaneIndex
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:54
Inherited from
GtcWaypointInfoPage
.displayPaneIndex
displayPaneSettings
protected
readonly
displayPaneSettings:UserSettingManager
<DisplayPaneSettings
>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:55
Inherited from
GtcWaypointInfoPage
.displayPaneSettings
facWaypointCache
protected
readonly
facWaypointCache:GarminFacilityWaypointCache
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:57
Inherited from
GtcWaypointInfoPage
.facWaypointCache
gtcService
protected
readonly
gtcService:GtcService
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:32
Inherited from
GtcWaypointInfoPage
.gtcService
hasSelectedWaypoint
protected
readonly
hasSelectedWaypoint:MappedSubscribable
<boolean
>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:62
Whether a waypoint is selected.
Inherited from
GtcWaypointInfoPage
.hasSelectedWaypoint
headingPipe?
protected
optional
headingPipe:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:108
Inherited from
GtcWaypointInfoPage
.headingPipe
isGpsDrSub?
protected
optional
isGpsDrSub:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:109
Inherited from
GtcWaypointInfoPage
.isGpsDrSub
optionsPopupKey
protected
readonly
optionsPopupKey:Options
=GtcUserWaypointInfoPagePopupKeys.Options
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcUserWaypointInfoPage.tsx:55
The view key for this page's options popup.
Overrides
GtcWaypointInfoPage
.optionsPopupKey
planeHeadingTrue
protected
readonly
planeHeadingTrue:Subject
<number
>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:72
The true heading of the airplane, in degrees, or NaN
if heading data is invalid.
Inherited from
GtcWaypointInfoPage
.planeHeadingTrue
ppos
protected
readonly
ppos:GeoPointSubject
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:69
The position of the airplane.
Inherited from
pposPipe?
protected
optional
pposPipe:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:107
Inherited from
props
props:
GtcUserWaypointInfoPageProps
&ComponentProps
Defined in: sdk/components/FSComponent.ts:61
The properties of the component.
Inherited from
publisher
protected
readonly
publisher:Publisher
<DisplayPaneControlEvents
<WaypointInfoPaneViewEventTypes
>>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:52
Inherited from
resetMapRange
protected
resetMapRange:boolean
=false
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:103
Inherited from
GtcWaypointInfoPage
.resetMapRange
rootCssClass
protected
readonly
rootCssClass:SetSubject
<string
>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:50
Inherited from
GtcWaypointInfoPage
.rootCssClass
selectedFacility
protected
readonly
selectedFacility:Subject
<null
|UserFacility
>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:65
The facility associated with the selected waypoint.
Inherited from
GtcWaypointInfoPage
.selectedFacility
selectedFacilityPipe?
protected
optional
selectedFacilityPipe:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:66
Inherited from
GtcWaypointInfoPage
.selectedFacilityPipe
selectedWaypoint
protected
readonly
selectedWaypoint:Subject
<null
|FacilityWaypoint
<UserFacility
>>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:60
The selected waypoint, or null
if there is no selected waypoint.
Inherited from
GtcWaypointInfoPage
.selectedWaypoint
selectedWaypointInfo
protected
readonly
selectedWaypointInfo:WaypointInfoStore
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:75
An information store for the selected waypoint.
Inherited from
GtcWaypointInfoPage
.selectedWaypointInfo
selectedWaypointRelativeBearing
protected
readonly
selectedWaypointRelativeBearing:MappedSubject
<[NumberUnitInterface
<"navangle"
,NavAngleUnit
>,number
],number
>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:81
The bearing to the selected waypoint, relative to the airplane's current heading, in degrees, or NaN
if there is
no selected waypoint or position/heading data is invalid.
Inherited from
GtcWaypointInfoPage
.selectedWaypointRelativeBearing
showOnMap
protected
readonly
showOnMap:Subject
<boolean
>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:88
Inherited from
showOnMapData
protected
readonly
showOnMapData:Subject
<Omit
<WaypointInfoPaneSelectionData
,"resetRange"
>>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:89
Inherited from
GtcWaypointInfoPage
.showOnMapData
showOnMapSub?
protected
optional
showOnMapSub:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:110
Inherited from
GtcWaypointInfoPage
.showOnMapSub
sidebarState
readonly
sidebarState:SidebarStateReadonly
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:38
The GTC sidebar state (labels and buttons) requested by this view.
Inherited from
GtcWaypointInfoPage
.sidebarState
title
readonly
title:Subscribable
<undefined
|string
>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:42
This view's title.
Inherited from
unitsSettingManager
protected
readonly
unitsSettingManager:UnitsUserSettingManager
<UnitsUserSettingTypes
>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:105
Inherited from
GtcWaypointInfoPage
.unitsSettingManager
waypointSelectType
protected
readonly
waypointSelectType:User
=FacilitySearchType.User
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcUserWaypointInfoPage.tsx:54
The type of waypoint displayed by this page.
Overrides
GtcWaypointInfoPage
.waypointSelectType
NULL_IDENT
protected
readonly
static
NULL_IDENT:object
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:35
1
1:
string
='––––'
2
2:
string
='–––––'
3
3:
string
='–––––'
4
4:
string
='–––––'
6
6:
string
='––––––'
8
8:
string
='––––––'
Inherited from
GtcWaypointInfoPage
.NULL_IDENT
Methods
destroy()
destroy():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcUserWaypointInfoPage.tsx:302
Destroys this component.
Returns
void
Overrides
getContext()
protected
getContext(context
):never
Defined in: 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
GtcWaypointInfoPage
.getContext
getCssClass()
protected
getCssClass():string
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcUserWaypointInfoPage.tsx:179
Gets the CSS class for this page's root element.
Returns
string
The CSS class for this page's root element.
Overrides
GtcWaypointInfoPage
.getCssClass
initSelection()
initSelection(
facility?
):Promise
<void
>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcUserWaypointInfoPage.tsx:118
Initializes this page's user waypoint selection. If the initial selected waypoint does not exist anymore, then
the selection will be set to the oldest existing user waypoint. If there are no existing user waypoints, the
selection will be set to null
.
Parameters
Parameter | Type | Description |
---|---|---|
facility? | string | UserFacility | The user waypoint facility to select, or its ICAO. If not defined, the selection will be initialized to the most recently selected user waypoint. |
Returns
Promise
<void
>
Overrides
GtcWaypointInfoPage
.initSelection
onAfterRender()
onAfterRender():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcUserWaypointInfoPage.tsx:70
A callback that is called after the component is rendered.
Returns
void
Overrides
GtcWaypointInfoPage
.onAfterRender
onBeforeRender()
onBeforeRender():
void
Defined in: sdk/components/FSComponent.ts:80
A callback that is called before the component is rendered.
Returns
void
Inherited from
GtcWaypointInfoPage
.onBeforeRender
onClose()
onClose():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcUserWaypointInfoPage.tsx:157
A method that is called when this view is closed. A view is closed when it does not appear in the most recent history state of its parent view stack.
Returns
void
Overrides
onGtcInteractionEvent()
onGtcInteractionEvent(
event
):boolean
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:97
Called when there is an interaction event when this is the active view.
Parameters
Parameter | Type | Description |
---|---|---|
event | GtcInteractionEvent | The event. |
Returns
boolean
Whether the event was handled or not.
Inherited from
GtcWaypointInfoPage
.onGtcInteractionEvent
onInUse()
onInUse():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:48
A method that is called when this view comes into use. A view is in-use when it appears in at least one history state of its parent view stack.
Returns
void
Inherited from
onOpen()
onOpen():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcUserWaypointInfoPage.tsx:147
A method that is called when this view is opened. A view is open when it appears in the most recent history state of its parent view stack.
Returns
void
Overrides
onOutOfUse()
onOutOfUse():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:56
A method that is called when this view goes out of use. A view is out-of-use when it does not appear in any history states of its parent view stack.
Returns
void
Inherited from
GtcWaypointInfoPage
.onOutOfUse
onPause()
onPause():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcUserWaypointInfoPage.tsx:172
A method that is called when this view is paused. A view is paused when it is not the active view.
Returns
void
Overrides
onResume()
onResume():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcUserWaypointInfoPage.tsx:165
A method that is called when this view is resumed. A view is resumed when it is the active view.
Returns
void
Overrides
render()
render():
VNode
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:226
Renders the component.
Returns
VNode
A JSX element to be rendered.
Inherited from
renderContent()
protected
renderContent():VNode
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcUserWaypointInfoPage.tsx:184
Renders this page's main content.
Returns
VNode
This page's main content, as a VNode.
Overrides
GtcWaypointInfoPage
.renderContent
renderOptionsPopup()
protected
renderOptionsPopup(gtcService
,controlMode
,displayPaneIndex?
):VNode
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcUserWaypointInfoPage.tsx:287
Renders this page's options popup.
Parameters
Parameter | Type | Description |
---|---|---|
gtcService | GtcService | The GTC service. |
controlMode | GtcControlMode | The control mode to which the popup belongs. |
displayPaneIndex? | ControllableDisplayPaneIndex | The index of the display pane associated with the popup. |
Returns
VNode
This page's options popup, as a VNode.
Overrides
GtcWaypointInfoPage
.renderOptionsPopup
sendSelectionData()
protected
sendSelectionData(data
):void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:217
Sends waypoint selection data to the display pane controlled by this page.
Parameters
Parameter | Type | Description |
---|---|---|
data | WaypointInfoPaneSelectionData | The data to send. |
Returns
void