Skip to main content

Class: GtcNearestNdbPage

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestNdbPage.tsx:22

A GTC nearest NDB page.

Extends

Constructors

Constructor

new GtcNearestNdbPage(props): GtcNearestNdbPage

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:106

Constructor.

Parameters

ParameterTypeDescription
propsGtcNearestWaypointPagePropsThis component's props.

Returns

GtcNearestNdbPage

Throws

Error if a display pane index is not defined for this view.

Inherited from

GtcNearestWaypointPage.constructor

Properties

_activeComponent

protected readonly _activeComponent: Subject<null | GtcInteractionHandler>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:34

Inherited from

GtcNearestWaypointPage._activeComponent


_sidebarState

protected readonly _sidebarState: GtcSidebarState

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:36

Inherited from

GtcNearestWaypointPage._sidebarState


_title

protected readonly _title: Subject<undefined | string>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:40

Inherited from

GtcNearestWaypointPage._title


bus

protected readonly bus: EventBus

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:31

Inherited from

GtcNearestWaypointPage.bus


context?

optional context: [] = undefined

Defined in: sdk/components/FSComponent.ts:64

The context on this component, if any.

Inherited from

GtcNearestWaypointPage.context


contextType?

readonly optional contextType: readonly [] = undefined

Defined in: sdk/components/FSComponent.ts:67

The type of context for this component, if any.

Inherited from

GtcNearestWaypointPage.contextType


displayPaneIndex

protected readonly displayPaneIndex: ControllableDisplayPaneIndex

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:51

Inherited from

GtcNearestWaypointPage.displayPaneIndex


displayPaneSettings

protected readonly displayPaneSettings: UserSettingManager<DisplayPaneSettings>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:52

Inherited from

GtcNearestWaypointPage.displayPaneSettings


facWaypointCache

protected readonly facWaypointCache: GarminFacilityWaypointCache

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:54

Inherited from

GtcNearestWaypointPage.facWaypointCache


gtcService

protected readonly gtcService: GtcService

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcView.ts:32

Inherited from

GtcNearestWaypointPage.gtcService


hasSelectedWaypoint

protected readonly hasSelectedWaypoint: MappedSubscribable<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:69

Whether a waypoint is selected.

Inherited from

GtcNearestWaypointPage.hasSelectedWaypoint


headingPipe?

protected optional headingPipe: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:96

Inherited from

GtcNearestWaypointPage.headingPipe


isGpsDataFailedSub?

protected optional isGpsDataFailedSub: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:97

Inherited from

GtcNearestWaypointPage.isGpsDataFailedSub


isGpsDrSub?

protected optional isGpsDrSub: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:98

Inherited from

GtcNearestWaypointPage.isGpsDrSub


isPaused

protected isPaused: boolean = true

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:91

Inherited from

GtcNearestWaypointPage.isPaused


listItemHeight

protected readonly listItemHeight: 70 | 130

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:80

Inherited from

GtcNearestWaypointPage.listItemHeight


listItemSpacing

protected readonly listItemSpacing: 1 | 2

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:81

Inherited from

GtcNearestWaypointPage.listItemSpacing


listRef

protected readonly listRef: NodeReference<GtcList<NearestWaypointEntry<FacilityWaypoint<NdbFacility>> & DynamicListData>>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:42

Inherited from

GtcNearestWaypointPage.listRef


nearestContext?

protected optional nearestContext: G3000NearestContext

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:56

Inherited from

GtcNearestWaypointPage.nearestContext


nearestFacilitiesUpdateSub?

protected optional nearestFacilitiesUpdateSub: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:93

Inherited from

GtcNearestWaypointPage.nearestFacilitiesUpdateSub


nearestSubscription?

protected optional nearestSubscription: NearestSubscription<NdbFacility>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:57

Inherited from

GtcNearestWaypointPage.nearestSubscription


optionsPopupKey

protected readonly optionsPopupKey: Options = GtcNearestNdbPagePopupKeys.Options

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestNdbPage.tsx:26

The view key for this page's options popup.

Overrides

GtcNearestWaypointPage.optionsPopupKey


planeHeadingTrue

protected readonly planeHeadingTrue: Subject<number>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:78

The true heading of the airplane, in degrees, or NaN if heading data is invalid.

Inherited from

GtcNearestWaypointPage.planeHeadingTrue


ppos

protected readonly ppos: GeoPointSubject

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:75

The position of the airplane.

Inherited from

GtcNearestWaypointPage.ppos


pposPipe?

protected optional pposPipe: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:95

Inherited from

GtcNearestWaypointPage.pposPipe


props

props: GtcNearestWaypointPageProps & ComponentProps

Defined in: sdk/components/FSComponent.ts:61

The properties of the component.

Inherited from

GtcNearestWaypointPage.props


publisher

protected readonly publisher: Publisher<DisplayPaneControlEvents<NearestPaneViewEventTypes>>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:49

Inherited from

GtcNearestWaypointPage.publisher


resetMapRange

protected resetMapRange: boolean = false

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:87

Inherited from

GtcNearestWaypointPage.resetMapRange


rootCssClass

protected readonly rootCssClass: SetSubject<string>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:44

Inherited from

GtcNearestWaypointPage.rootCssClass


selectedFacility

protected readonly selectedFacility: Subject<null | NdbFacility>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:72

The facility associated with the selected waypoint.

Inherited from

GtcNearestWaypointPage.selectedFacility


selectedFacilityPipe?

protected optional selectedFacilityPipe: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:94

Inherited from

GtcNearestWaypointPage.selectedFacilityPipe


selectedWaypoint

protected readonly selectedWaypoint: Subject<null | FacilityWaypoint<NdbFacility>>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:67

The selected waypoint, or null if there is no selected waypoint.

Inherited from

GtcNearestWaypointPage.selectedWaypoint


showOnMap

protected readonly showOnMap: Subject<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:85

Inherited from

GtcNearestWaypointPage.showOnMap


showOnMapIcao

protected readonly showOnMapIcao: MappedSubscribable<string>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:86

Inherited from

GtcNearestWaypointPage.showOnMapIcao


showOnMapSub?

protected optional showOnMapSub: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:99

Inherited from

GtcNearestWaypointPage.showOnMapSub


showOnMapType

protected readonly showOnMapType: Ndb = NearestPaneSelectionType.Ndb

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestNdbPage.tsx:29

The view key for this page's options popup.

Overrides

GtcNearestWaypointPage.showOnMapType


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

GtcNearestWaypointPage.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

GtcNearestWaypointPage.title


unitsSettingManager

protected readonly unitsSettingManager: UnitsUserSettingManager<UnitsUserSettingTypes>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:89

Inherited from

GtcNearestWaypointPage.unitsSettingManager


waypointArray

protected readonly waypointArray: NearestWaypointArray<NDB, NearestWaypointEntry<FacilityWaypoint<NdbFacility>>>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:59

Inherited from

GtcNearestWaypointPage.waypointArray


GPS_FAIL_CLEAR_LIST_DELAY

protected readonly static GPS_FAIL_CLEAR_LIST_DELAY: 10000 = 10000

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:40

Inherited from

GtcNearestWaypointPage.GPS_FAIL_CLEAR_LIST_DELAY

Methods

createWaypointEntry()

protected createWaypointEntry(waypoint): NearestWaypointEntry

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:229

Creates a waypoint entry for a nearest facility search result.

Parameters

ParameterTypeDescription
waypointFacilityWaypoint<NdbFacility>A nearest facility search result, as a Waypoint.

Returns

NearestWaypointEntry

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:300

Destroys this component.

Returns

void

Inherited from

GtcNearestWaypointPage.destroy


getContext()

protected getContext(context): never

Defined in: sdk/components/FSComponent.ts:106

Gets a context data subscription from the context collection.

Parameters

ParameterTypeDescription
contextneverThe 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()

protected getCssClass(): string

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestNdbPage.tsx:52

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()

protected getHeaderTypeLabel(): string

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestNdbPage.tsx:57

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()

protected getNearestSubscription(context): NearestSubscription<NdbFacility>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestNdbPage.tsx:32

Gets this page's nearest facilities subscription from a nearest context.

Parameters

ParameterTypeDescription
contextG3000NearestContextA nearest context.

Returns

NearestSubscription<NdbFacility>

This page's nearest facilities subscription from the specified nearest context.

Overrides

GtcNearestWaypointPage.getNearestSubscription


initNearestSearch()

protected initNearestSearch(): Promise<void>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:132

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/GtcNearestNdbPage.tsx:37

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:195

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

ParameterTypeDescription
eventGtcInteractionEventThe 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:190

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

GtcNearestWaypointPage.onOpen


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:212

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:201

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:246

Renders the component.

Returns

VNode

A JSX element to be rendered.

Inherited from

GtcNearestWaypointPage.render


renderAdditionalHeaderColumns()

protected renderAdditionalHeaderColumns(): null | VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestNdbPage.tsx:62

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()

protected renderListItem(data): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestNdbPage.tsx:69

Renders an item for this page's nearest waypoint list.

Parameters

ParameterTypeDescription
dataNearestWaypointEntry<FacilityWaypoint<NdbFacility>>The nearest waypoint entry for which to render.

Returns

VNode

A nearest waypoint list item, as a VNode.

Overrides

GtcNearestWaypointPage.renderListItem


renderOptionsPopup()

protected renderOptionsPopup(gtcService, controlMode, displayPaneIndex?): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestNdbPage.tsx:92

Renders this page's options popup.

Parameters

ParameterTypeDescription
gtcServiceGtcServiceThe GTC service.
controlModeGtcControlModeThe control mode to which the popup belongs.
displayPaneIndex?ControllableDisplayPaneIndexThe index of the display pane associated with the popup.

Returns

VNode

This page's options popup, as a VNode.


sendSelectionData()

protected sendSelectionData(data): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/NearestPages/GtcNearestWaypointPage.tsx:237

Sends waypoint selection data to the display pane controlled by this page.

Parameters

ParameterTypeDescription
dataNearestPaneSelectionDataThe data to send.

Returns

void

Inherited from

GtcNearestWaypointPage.sendSelectionData