Skip to main content

Class: GtcNdbInfoPopup

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcNdbInfoPopup.tsx:11

A GTC NDB information popup.

Extends

Constructors

Constructor

new GtcNdbInfoPopup(props): GtcNdbInfoPopup

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

Creates an instance of a DisplayComponent.

Parameters

ParameterTypeDescription
propsGtcWaypointInfoPopupPropsThe propertis of the component.

Returns

GtcNdbInfoPopup

Inherited from

GtcWaypointInfoPopup.constructor

Properties

_activeComponent

protected readonly _activeComponent: Subject<GtcInteractionHandler | null>

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

Inherited from

GtcWaypointInfoPopup._activeComponent


_sidebarState

protected readonly _sidebarState: GtcSidebarState

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

Inherited from

GtcWaypointInfoPopup._sidebarState


_title

protected readonly _title: Subject<string | undefined>

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

Inherited from

GtcWaypointInfoPopup._title


bus

protected readonly bus: EventBus

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

Inherited from

GtcWaypointInfoPopup.bus


context?

optional context: [] = undefined

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

The context on this component, if any.

Inherited from

GtcWaypointInfoPopup.context


contextType?

readonly optional contextType: readonly [] = undefined

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

The type of context for this component, if any.

Inherited from

GtcWaypointInfoPopup.contextType


facWaypointCache

protected readonly facWaypointCache: GarminFacilityWaypointCache

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcWaypointInfoPopup.tsx:30

Inherited from

GtcWaypointInfoPopup.facWaypointCache


gtcService

protected readonly gtcService: GtcService

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

Inherited from

GtcWaypointInfoPopup.gtcService


infoRef

protected readonly infoRef: NodeReference<GtcWaypointInfo<Ndb, GtcWaypointInfoProps<Ndb>>>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcWaypointInfoPopup.tsx:37

Inherited from

GtcWaypointInfoPopup.infoRef


props

props: GtcWaypointInfoPopupProps & ComponentProps

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

The properties of the component.

Inherited from

GtcWaypointInfoPopup.props


selectedWaypoint

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

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcWaypointInfoPopup.tsx:35

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

Inherited from

GtcWaypointInfoPopup.selectedWaypoint


setWaypointOpId

protected setWaypointOpId: number = 0

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcWaypointInfoPopup.tsx:39

Inherited from

GtcWaypointInfoPopup.setWaypointOpId


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

GtcWaypointInfoPopup.sidebarState


title

readonly title: Subscribable<string | undefined>

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

This view's title.

Inherited from

GtcWaypointInfoPopup.title


unitsSettingManager

protected readonly unitsSettingManager: UnitsUserSettingManager<UnitsUserSettingTypes>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcWaypointInfoPopup.tsx:32

Inherited from

GtcWaypointInfoPopup.unitsSettingManager


waypointSelectType

protected readonly waypointSelectType: Ndb = FacilitySearchType.Ndb

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcNdbInfoPopup.tsx:12

The type of waypoint displayed by this popup.

Overrides

GtcWaypointInfoPopup.waypointSelectType

Methods

destroy()

destroy(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcWaypointInfoPopup.tsx:112

Destroys this component.

Returns

void

Inherited from

GtcWaypointInfoPopup.destroy


getContext()

protected getContext(context): never

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

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

GtcWaypointInfoPopup.getContext


getFacility()

protected getFacility(icao): Promise<NdbFacility | null>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcNdbInfoPopup.tsx:15

Gets a facility for this popup.

Parameters

ParameterTypeDescription
icaoIcaoValueThe ICAO of the facility to retrieve.

Returns

Promise<NdbFacility | null>

A Promise which is fulfilled with the requested facility, or null if the facility could not be retrieved.

Overrides

GtcWaypointInfoPopup.getFacility


onAfterRender()

onAfterRender(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcWaypointInfoPopup.tsx:42

A callback that is called after the component is rendered.

Returns

void

Inherited from

GtcWaypointInfoPopup.onAfterRender


onBeforeRender()

onBeforeRender(): void

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

A callback that is called before the component is rendered.

Returns

void

Inherited from

GtcWaypointInfoPopup.onBeforeRender


onClose()

onClose(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcWaypointInfoPopup.tsx:97

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

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

GtcWaypointInfoPopup.onGtcInteractionEvent


onInUse()

onInUse(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcWaypointInfoPopup.tsx:82

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

GtcWaypointInfoPopup.onInUse


onOpen()

onOpen(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcWaypointInfoPopup.tsx:92

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

GtcWaypointInfoPopup.onOpen


onOutOfUse()

onOutOfUse(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcWaypointInfoPopup.tsx:87

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

GtcWaypointInfoPopup.onOutOfUse


onPause()

onPause(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcWaypointInfoPopup.tsx:107

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

GtcWaypointInfoPopup.onPause


onResume()

onResume(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcWaypointInfoPopup.tsx:102

A method that is called when this view is resumed. A view is resumed when it is the active view.

Returns

void

Inherited from

GtcWaypointInfoPopup.onResume


render()

render(): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcNdbInfoPopup.tsx:24

Renders the component.

Returns

VNode

A JSX element to be rendered.

Overrides

GtcWaypointInfoPopup.render


setWaypoint()

setWaypoint(facility): Promise<void>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Popups/WaypointInfoPopups/GtcWaypointInfoPopup.tsx:53

Sets the waypoint to be displayed on this popup.

Parameters

ParameterTypeDescription
facilityIcaoValue | NdbFacility | nullThe facility to display, or its ICAO.

Returns

Promise<void>

A Promise which is fulfilled when the waypoint has been set.

Inherited from

GtcWaypointInfoPopup.setWaypoint