Abstract Class: GtcWaypointInfoPage<T, P>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:37
A GTC waypoint information page.
Extends
GtcView<P>
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends WaypointSelectType | - |
P extends GtcWaypointInfoPageProps | GtcWaypointInfoPageProps |
Constructors
Constructor
new GtcWaypointInfoPage<
T,P>(props):GtcWaypointInfoPage<T,P>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:120
Constructor.
Parameters
| Parameter | Type | Description |
|---|---|---|
props | P | This component's props. |
Returns
GtcWaypointInfoPage<T, P>
Throws
Error if a display pane index is not defined for this view.
Overrides
Properties
_activeComponent
protectedreadonly_activeComponent:Subject<null|GtcInteractionHandler>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:34
Inherited from
_sidebarState
protectedreadonly_sidebarState:GtcSidebarState
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:36
Inherited from
_title
protectedreadonly_title:Subject<undefined|string>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:40
Inherited from
bus
protectedreadonlybus:EventBus
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:31
Inherited from
context?
optionalcontext: [] =undefined
Defined in: sdk/components/FSComponent.ts:64
The context on this component, if any.
Inherited from
contextType?
readonlyoptionalcontextType: readonly [] =undefined
Defined in: sdk/components/FSComponent.ts:67
The type of context for this component, if any.
Inherited from
displayPaneIndex
protectedreadonlydisplayPaneIndex:ControllableDisplayPaneIndex
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:57
displayPaneSettings
protectedreadonlydisplayPaneSettings:UserSettingManager<DisplayPaneSettings>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:58
facWaypointCache
protectedreadonlyfacWaypointCache:GarminFacilityWaypointCache
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:60
gtcService
protectedreadonlygtcService:GtcService
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:32
Inherited from
hasSelectedWaypoint
protectedreadonlyhasSelectedWaypoint:MappedSubscribable<boolean>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:65
Whether a waypoint is selected.
headingPipe?
protectedoptionalheadingPipe:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:111
isGpsDrSub?
protectedoptionalisGpsDrSub:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:112
optionsPopupKey
abstractprotectedreadonlyoptionsPopupKey:string
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:51
The view key for this page's options popup.
planeHeadingTrue
protectedreadonlyplaneHeadingTrue:Subject<number>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:75
The true heading of the airplane, in degrees, or NaN if heading data is invalid.
ppos
protectedreadonlyppos:GeoPointSubject
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:72
The position of the airplane.
pposPipe?
protectedoptionalpposPipe:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:110
props
props:
P&ComponentProps
Defined in: sdk/components/FSComponent.ts:61
The properties of the component.
Inherited from
publisher
protectedreadonlypublisher:Publisher<DisplayPaneControlEvents<WaypointInfoPaneViewEventTypes>>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:55
resetMapRange
protectedresetMapRange:boolean=false
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:106
rootCssClass
protectedreadonlyrootCssClass:SetSubject<string>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:53
selectedFacility
protectedreadonlyselectedFacility:Subject<null|SearchTypeMap[T]>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:68
The facility associated with the selected waypoint.
selectedFacilityPipe?
protectedoptionalselectedFacilityPipe:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:69
selectedWaypoint
protectedreadonlyselectedWaypoint:Subject<null|WaypointSelectTypeMap[T]>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:63
The selected waypoint, or null if there is no selected waypoint.
selectedWaypointInfo
protectedreadonlyselectedWaypointInfo:WaypointInfoStore
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:78
An information store for the selected waypoint.
selectedWaypointRelativeBearing
protectedreadonlyselectedWaypointRelativeBearing:MappedSubject<[NumberUnitInterface<"navangle",NavAngleUnit>,number],number>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:84
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.
showOnMap
protectedreadonlyshowOnMap:Subject<boolean>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:91
showOnMapData
protectedreadonlyshowOnMapData:Subject<Omit<WaypointInfoPaneSelectionData,"resetRange">>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:92
showOnMapSub?
protectedoptionalshowOnMapSub:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:113
sidebarState
readonlysidebarState: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
title
readonlytitle:Subscribable<undefined|string>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:42
This view's title.
Inherited from
unitsSettingManager
protectedreadonlyunitsSettingManager:UnitsUserSettingManager<UnitsUserSettingTypes>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:108
waypointSelectType
abstractprotectedreadonlywaypointSelectType:T
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:48
The type of waypoint displayed by this page.
NULL_IDENT
protectedreadonlystaticNULL_IDENT:object
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:38
1
1:
string='––––'
2
2:
string='–––––'
3
3:
string='–––––'
4
4:
string='–––––'
6
6:
string='––––––'
8
8:
string='––––––'
Methods
destroy()
destroy():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:288
Destroys this component.
Returns
void
Overrides
getContext()
protectedgetContext(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
getCssClass()
abstractprotectedgetCssClass():string
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:259
Gets the CSS class for this page's root element.
Returns
string
The CSS class for this page's root element.
initSelection()
abstractinitSelection(facility?):Promise<void>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:191
Initializes this page's waypoint selection.
Parameters
| Parameter | Type | Description |
|---|---|---|
facility? | IcaoValue | SearchTypeMap[T] | The facility to select, or its ICAO. |
Returns
Promise<void>
onAfterRender()
onAfterRender():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:142
A callback that is called after the component is rendered.
Returns
void
Overrides
onBeforeRender()
onBeforeRender():
void
Defined in: sdk/components/FSComponent.ts:80
A callback that is called before the component is rendered.
Returns
void
Inherited from
onClose()
onClose():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:199
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
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/GtcWaypointInfoPage.tsx:194
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
onPause()
onPause():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:211
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/GtcWaypointInfoPage.tsx:205
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:229
Renders the component.
Returns
A JSX element to be rendered.
Overrides
renderContent()
abstractprotectedrenderContent():VNode
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:265
Renders this page's main content.
Returns
This page's main content, as a VNode.
renderOptionsPopup()
protectedrenderOptionsPopup(gtcService,controlMode,displayPaneIndex?):VNode
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:274
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
This page's options popup, as a VNode.
sendSelectionData()
protectedsendSelectionData(data):void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage.tsx:220
Sends waypoint selection data to the display pane controlled by this page.
Parameters
| Parameter | Type | Description |
|---|---|---|
data | WaypointInfoPaneSelectionData | The data to send. |
Returns
void