Class: GtcNearestAirportPage
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestAirportPage.tsx:32
A GTC nearest airport page.
Extends
Constructors
Constructor
new GtcNearestAirportPage(
props):GtcNearestAirportPage
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:108
Constructor.
Parameters
| Parameter | Type | Description |
|---|---|---|
props | GtcNearestAirportPageProps | This component's props. |
Returns
GtcNearestAirportPage
Throws
Error if a display pane index is not defined for this view.
Inherited from
GtcNearestWaypointPage.constructor
Properties
_activeComponent
protectedreadonly_activeComponent:Subject<null|GtcInteractionHandler>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:34
Inherited from
GtcNearestWaypointPage._activeComponent
_sidebarState
protectedreadonly_sidebarState:GtcSidebarState
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:36
Inherited from
GtcNearestWaypointPage._sidebarState
_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
GtcNearestWaypointPage.context
contextType?
readonlyoptionalcontextType: readonly [] =undefined
Defined in: sdk/components/FSComponent.ts:67
The type of context for this component, if any.
Inherited from
GtcNearestWaypointPage.contextType
displayPaneIndex
protectedreadonlydisplayPaneIndex:ControllableDisplayPaneIndex
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:53
Inherited from
GtcNearestWaypointPage.displayPaneIndex
displayPaneSettings
protectedreadonlydisplayPaneSettings:UserSettingManager<DisplayPaneSettings>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:54
Inherited from
GtcNearestWaypointPage.displayPaneSettings
facWaypointCache
protectedreadonlyfacWaypointCache:GarminFacilityWaypointCache
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:56
Inherited from
GtcNearestWaypointPage.facWaypointCache
gtcService
protectedreadonlygtcService:GtcService
Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:32
Inherited from
GtcNearestWaypointPage.gtcService
hasSelectedWaypoint
protectedreadonlyhasSelectedWaypoint:MappedSubscribable<boolean>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:71
Whether a waypoint is selected.
Inherited from
GtcNearestWaypointPage.hasSelectedWaypoint
headingPipe?
protectedoptionalheadingPipe:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:98
Inherited from
GtcNearestWaypointPage.headingPipe
isGpsDataFailedSub?
protectedoptionalisGpsDataFailedSub:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:99
Inherited from
GtcNearestWaypointPage.isGpsDataFailedSub
isGpsDrSub?
protectedoptionalisGpsDrSub:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:100
Inherited from
GtcNearestWaypointPage.isGpsDrSub
isPaused
protectedisPaused:boolean=true
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:93
Inherited from
GtcNearestWaypointPage.isPaused
listItemHeight
protectedreadonlylistItemHeight:70|130
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:82
Inherited from
GtcNearestWaypointPage.listItemHeight
listItemSpacing
protectedreadonlylistItemSpacing:1|2
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:83
Inherited from
GtcNearestWaypointPage.listItemSpacing
listRef
protectedreadonlylistRef:NodeReference<GtcList<NearestWaypointEntry<AirportWaypoint> &DynamicListData>>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:44
Inherited from
GtcNearestWaypointPage.listRef
nearestContext?
protectedoptionalnearestContext:G3000NearestContext
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:58
Inherited from
GtcNearestWaypointPage.nearestContext
nearestFacilitiesUpdateSub?
protectedoptionalnearestFacilitiesUpdateSub:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:95
Inherited from
GtcNearestWaypointPage.nearestFacilitiesUpdateSub
nearestSubscription?
protectedoptionalnearestSubscription:NearestSubscription<AirportFacility>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:59
Inherited from
GtcNearestWaypointPage.nearestSubscription
optionsPopupKey
protectedreadonlyoptionsPopupKey:Options=GtcNearestAirportPagePopupKeys.Options
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestAirportPage.tsx:52
The view key for this page's options popup.
Overrides
GtcNearestWaypointPage.optionsPopupKey
planeHeadingTrue
protectedreadonlyplaneHeadingTrue:Subject<number>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:80
The true heading of the airplane, in degrees, or NaN if heading data is invalid.
Inherited from
GtcNearestWaypointPage.planeHeadingTrue
ppos
protectedreadonlyppos:GeoPointSubject
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:77
The position of the airplane.
Inherited from
pposPipe?
protectedoptionalpposPipe:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:97
Inherited from
GtcNearestWaypointPage.pposPipe
props
props:
GtcNearestAirportPageProps&ComponentProps
Defined in: sdk/components/FSComponent.ts:61
The properties of the component.
Inherited from
publisher
protectedreadonlypublisher:Publisher<DisplayPaneControlEvents<NearestPaneViewEventTypes>>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:51
Inherited from
GtcNearestWaypointPage.publisher
resetMapRange
protectedresetMapRange:boolean=false
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:89
Inherited from
GtcNearestWaypointPage.resetMapRange
rootCssClass
protectedreadonlyrootCssClass:SetSubject<string>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:46
Inherited from
GtcNearestWaypointPage.rootCssClass
selectedFacility
protectedreadonlyselectedFacility:Subject<null|AirportFacility>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:74
The facility associated with the selected waypoint.
Inherited from
GtcNearestWaypointPage.selectedFacility
selectedFacilityPipe?
protectedoptionalselectedFacilityPipe:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:96
Inherited from
GtcNearestWaypointPage.selectedFacilityPipe
selectedWaypoint
protectedreadonlyselectedWaypoint:Subject<null|AirportWaypoint>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:69
The selected waypoint, or null if there is no selected waypoint.
Inherited from
GtcNearestWaypointPage.selectedWaypoint
showOnMap
protectedreadonlyshowOnMap:Subject<boolean>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:87
Inherited from
GtcNearestWaypointPage.showOnMap
showOnMapIcao
protectedreadonlyshowOnMapIcao:MappedSubscribable<IcaoValue>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:88
Inherited from
GtcNearestWaypointPage.showOnMapIcao
showOnMapSub?
protectedoptionalshowOnMapSub:Subscription
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:101
Inherited from
GtcNearestWaypointPage.showOnMapSub
showOnMapType
protectedreadonlyshowOnMapType:Airport=NearestPaneSelectionType.Airport
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestAirportPage.tsx:55
The view key for this page's options popup.
Overrides
GtcNearestWaypointPage.showOnMapType
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
GtcNearestWaypointPage.sidebarState
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/NearestPages/GtcNearestWaypointPage.tsx:91
Inherited from
GtcNearestWaypointPage.unitsSettingManager
waypointArray
protectedreadonlywaypointArray:NearestWaypointArray<Airport,NearestWaypointEntry<AirportWaypoint>>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:61
Inherited from
GtcNearestWaypointPage.waypointArray
GPS_FAIL_CLEAR_LIST_DELAY
protectedreadonlystaticGPS_FAIL_CLEAR_LIST_DELAY:10000=10000
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:42
Inherited from
GtcNearestWaypointPage.GPS_FAIL_CLEAR_LIST_DELAY
Methods
createWaypointEntry()
protectedcreateWaypointEntry(waypoint):NearestWaypointEntry
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:231
Creates a waypoint entry for a nearest facility search result.
Parameters
| Parameter | Type | Description |
|---|---|---|
waypoint | AirportWaypoint | A nearest facility search result, as a Waypoint. |
Returns
A waypoint entry for the specified nearest facility search result.
Inherited from
GtcNearestWaypointPage.createWaypointEntry
destroy()
destroy():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:302
Destroys this component.
Returns
void
Inherited from
GtcNearestWaypointPage.destroy
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
GtcNearestWaypointPage.getContext
getCssClass()
protectedgetCssClass():string
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestAirportPage.tsx:78
Gets the CSS class for this page's root element.
Returns
string
The CSS class for this page's root element.
Overrides
GtcNearestWaypointPage.getCssClass
getHeaderTypeLabel()
protectedgetHeaderTypeLabel():string
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestAirportPage.tsx:83
Gets the label for the type column of this page's header .
Returns
string
The label for the type column of this page's header.
Overrides
GtcNearestWaypointPage.getHeaderTypeLabel
getNearestSubscription()
protectedgetNearestSubscription(context):NearestSubscription<AirportFacility>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestAirportPage.tsx:58
Gets this page's nearest facilities subscription from a nearest context.
Parameters
| Parameter | Type | Description |
|---|---|---|
context | G3000NearestContext | A nearest context. |
Returns
NearestSubscription<AirportFacility>
This page's nearest facilities subscription from the specified nearest context.
Overrides
GtcNearestWaypointPage.getNearestSubscription
initNearestSearch()
protectedinitNearestSearch():Promise<void>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:134
Initializes this page's nearest waypoints search.
Returns
Promise<void>
Inherited from
GtcNearestWaypointPage.initNearestSearch
onAfterRender()
onAfterRender():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestAirportPage.tsx:63
A callback that is called after the component is rendered.
Returns
void
Overrides
GtcNearestWaypointPage.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
GtcNearestWaypointPage.onBeforeRender
onClose()
onClose():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:197
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
Inherited from
GtcNearestWaypointPage.onClose
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
GtcNearestWaypointPage.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
GtcNearestWaypointPage.onInUse
onOpen()
onOpen():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:192
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
Inherited from
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
GtcNearestWaypointPage.onOutOfUse
onPause()
onPause():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:214
A method that is called when this view is paused. A view is paused when it is not the active view.
Returns
void
Inherited from
GtcNearestWaypointPage.onPause
onResume()
onResume():
void
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:203
A method that is called when this view is resumed. A view is resumed when it is the active view.
Returns
void
Inherited from
GtcNearestWaypointPage.onResume
render()
render():
VNode
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:248
Renders the component.
Returns
A JSX element to be rendered.
Inherited from
renderAdditionalHeaderColumns()
protectedrenderAdditionalHeaderColumns():null|VNode
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestAirportPage.tsx:88
Renders additional header columns.
Returns
null | VNode
Additional header columns, as a VNode, or null if there are no additional columns.
Overrides
GtcNearestWaypointPage.renderAdditionalHeaderColumns
renderListItem()
protectedrenderListItem(data):VNode
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestAirportPage.tsx:95
Renders an item for this page's nearest waypoint list.
Parameters
| Parameter | Type | Description |
|---|---|---|
data | NearestWaypointEntry<AirportWaypoint> | The nearest waypoint entry for which to render. |
Returns
A nearest waypoint list item, as a VNode.
Overrides
GtcNearestWaypointPage.renderListItem
renderOptionsPopup()
protectedrenderOptionsPopup(gtcService,controlMode,displayPaneIndex?):VNode
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestAirportPage.tsx:132
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/NearestPages/GtcNearestWaypointPage.tsx:239
Sends waypoint selection data to the display pane controlled by this page.
Parameters
| Parameter | Type | Description |
|---|---|---|
data | NearestPaneSelectionData | The data to send. |
Returns
void