Skip to main content

Abstract Class: GtcWaypointInfoPage2<T, P>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:36

A GTC waypoint information page.

Extends

Extended by

Type Parameters

Type ParameterDefault type
T extends WaypointSelectType-
P extends GtcWaypointInfoPage2PropsGtcWaypointInfoPage2Props

Constructors

Constructor

new GtcWaypointInfoPage2<T, P>(props): GtcWaypointInfoPage2<T, P>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:85

Creates a new instance of GtcWaypointInfoPage2.

Parameters

ParameterTypeDescription
propsPThis component's props.

Returns

GtcWaypointInfoPage2<T, P>

Throws

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

Overrides

GtcView.constructor

Properties

_activeComponent

protected readonly _activeComponent: Subject<GtcInteractionHandler | null>

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

Inherited from

GtcView._activeComponent


_sidebarState

protected readonly _sidebarState: GtcSidebarState

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

Inherited from

GtcView._sidebarState


_title

protected readonly _title: Subject<string | undefined>

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

Inherited from

GtcView._title


bus

protected readonly bus: EventBus

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

Inherited from

GtcView.bus


canShowOnMap

protected readonly canShowOnMap: MappedSubscribable<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:59

Whether the currently selected waypoint can be shown on the map.


context?

optional context: [] = undefined

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

The context on this component, if any.

Inherited from

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

GtcView.contextType


displayPaneIndex

protected readonly displayPaneIndex: ControllableDisplayPaneIndex

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:45


displayPaneSettingManager

protected readonly displayPaneSettingManager: UserSettingManager<DisplayPaneSettings>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:46


facWaypointCache

protected readonly facWaypointCache: GarminFacilityWaypointCache

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:48


gtcService

protected readonly gtcService: GtcService

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

Inherited from

GtcView.gtcService


infoRef

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

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:53


optionsPopupKey

abstract protected readonly optionsPopupKey: string

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:41

The view key for this page's options popup.


props

props: P & ComponentProps

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

The properties of the component.

Inherited from

GtcView.props


publisher

protected readonly publisher: Publisher<DisplayPaneControlEvents<WaypointInfoPaneViewEventTypes>>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:43


resetMapRange

protected resetMapRange: boolean = false

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:76


rootCssClass

protected readonly rootCssClass: SubscribableSet<string> & Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:52


selectedWaypoint

protected readonly selectedWaypoint: Subject<WaypointSelectTypeMap[T] | null>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:56

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


showOnMap

protected readonly showOnMap: Subject<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:61


showOnMapData

protected readonly showOnMapData: Subject<Omit<WaypointInfoPaneSelectionData, "resetRange">>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:62


showOnMapSub?

protected optional showOnMapSub: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:78


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

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

GtcView.title


unitsSettingManager

protected readonly unitsSettingManager: UnitsUserSettingManager<UnitsUserSettingTypes>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:50


waypointSelectType

abstract protected readonly waypointSelectType: T

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:38

The type of waypoint displayed by this page.

Methods

destroy()

destroy(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:238

Destroys this component.

Returns

void

Overrides

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

GtcView.getContext


getCssClass()

abstract protected getCssClass(): ClassProp

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:209

Gets CSS classes to apply to this page's root element.

Returns

ClassProp

CSS classes to apply to this page's root element.


initSelection()

abstract initSelection(facility?): Promise<void>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:143

Initializes this page's waypoint selection.

Parameters

ParameterTypeDescription
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/GtcWaypointInfoPage2.tsx:97

A callback that is called after the component is rendered.

Returns

void

Overrides

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

GtcView.onBeforeRender


onClose()

onClose(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:163

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

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

GtcView.onGtcInteractionEvent


onInUse()

onInUse(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:146

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

Overrides

GtcView.onInUse


onOpen()

onOpen(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:156

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

GtcView.onOpen


onOutOfUse()

onOutOfUse(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:151

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

Overrides

GtcView.onOutOfUse


onPause()

onPause(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:178

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

Returns

void

Overrides

GtcView.onPause


onResume()

onResume(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:171

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

Returns

void

Overrides

GtcView.onResume


render()

render(): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:197

Renders the component.

Returns

VNode

A JSX element to be rendered.

Overrides

GtcView.render


renderContent()

abstract protected renderContent(infoRef): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:215

Renders this page's contents.

Parameters

ParameterType
infoRefNodeReference<GtcWaypointInfo<T, GtcWaypointInfoProps<T>>>

Returns

VNode

This page's contents, rendered as a VNode.


renderOptionsPopup()

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

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/WaypointInfoPages/GtcWaypointInfoPage2.tsx:224

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/WaypointInfoPages/GtcWaypointInfoPage2.tsx:188

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

Parameters

ParameterTypeDescription
dataWaypointInfoPaneSelectionDataThe data to send.

Returns

void