Skip to main content

Abstract Class: GtcToldDataPage<ResultType, P>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:44

A GTC TOLD (takeoff/landing) data page.

Extends​

Extended by​

Type Parameters​

Type ParameterDefault type
ResultType extends ToldTakeoffPerformanceResult | ToldLandingPerformanceResult-
P extends GtcToldDataPagePropsGtcToldDataPageProps

Constructors​

Constructor​

new GtcToldDataPage<ResultType, P>(props): GtcToldDataPage<ResultType, P>

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

Creates an instance of a DisplayComponent.

Parameters​

ParameterTypeDescription
propsPThe propertis of the component.

Returns​

GtcToldDataPage<ResultType, P>

Inherited from​

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


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


facWaypointCache​

protected readonly facWaypointCache: GarminFacilityWaypointCache

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:53


gtcService​

protected readonly gtcService: GtcService

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

Inherited from​

GtcView.gtcService


isPaused​

protected isPaused: boolean = true

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:87


isTakeoff​

abstract protected readonly isTakeoff: boolean

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:51


listItemHeight​

protected readonly listItemHeight: 85 | 155

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:82


listItemSpacing​

protected readonly listItemSpacing: 4 | 6

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:83


magVar​

protected readonly magVar: MappedSubject<[AirportWaypoint | null, OneWayRunway | null], number>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:66


originDestIcaoSetting​

abstract protected readonly originDestIcaoSetting: UserSetting<string>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:58


originDestIcaoSub?​

protected optional originDestIcaoSub: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:89


props​

props: P & ComponentProps

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

The properties of the component.

Inherited from​

GtcView.props


result​

protected readonly result: Subject<ResultType | null>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:80


resultSetting​

abstract protected readonly resultSetting: UserSetting<string>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:59


selectedAirport​

protected readonly selectedAirport: Subject<AirportWaypoint | null>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:63


selectedAirportSub?​

protected optional selectedAirportSub: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:90


selectedRunway​

protected readonly selectedRunway: Subject<OneWayRunway | null>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:64


selectedRunwaySub?​

protected optional selectedRunwaySub: Subscription

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:91


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


toldSettingManager​

protected readonly toldSettingManager: DefaultUserSettingManager<ToldUserSettingTypes>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:55


unitsSettingManager​

protected readonly unitsSettingManager: UnitsUserSettingManager<UnitsUserSettingTypes>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:61


weightFuelSettingManager​

protected readonly weightFuelSettingManager: DefaultUserSettingManager<WeightFuelUserSettingTypes>

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:56

Methods​

destroy()​

destroy(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:433

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


getRootCssClass()​

abstract protected getRootCssClass(): string

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:288

Gets this page's root CSS class.

Returns​

string

This page's root CSS class.


onAfterRender()​

onAfterRender(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:95

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/GtcService/GtcView.ts:75

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​

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/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​

GtcView.onInUse


onOpen()​

onOpen(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:245

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/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​

GtcView.onOutOfUse


onPause()​

onPause(): void

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:262

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/ToldPages/GtcToldDataPage.tsx:250

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


parseResult()​

abstract protected parseResult(resultString): ResultType | null

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:242

Parses a performance result object from a string.

Parameters​

ParameterTypeDescription
resultStringstringThe stringified result object.

Returns​

ResultType | null

The performance result object parsed from the specified string, or null if the string does not define such an object.


render()​

render(): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:274

Renders the component.

Returns​

VNode

A JSX element to be rendered.

Overrides​

GtcView.render


renderConfigTab()​

abstract protected renderConfigTab(contentRef, sidebarState): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:423

Renders this page's config tab.

Parameters​

ParameterTypeDescription
contentRefNodeReference<GtcToldDataPageTabContent>A reference to assign to the tab's content.
sidebarStateSubscribable<GtcSidebarState | null>The sidebar state to use.

Returns​

VNode

This page's config tab, as a VNode.


renderDataTab()​

abstract protected renderDataTab(contentRef): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:430

Renders this page's data tab.

Parameters​

ParameterTypeDescription
contentRefNodeReference<GtcToldDataPageTabContent>A reference to assign to the tab's content.

Returns​

VNode

This page's data tab, as a VNode.


renderOriginDestTab()​

protected renderOriginDestTab(contentRef): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:356

Renders this page's origin/destination tab.

Parameters​

ParameterTypeDescription
contentRefNodeReference<GtcToldDataPageTabContent>A reference to assign to the tab's content.

Returns​

VNode

This page's origin/destination tab, as a VNode.


renderRunwayTab()​

protected renderRunwayTab(contentRef): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:400

Renders this page's runway tab.

Parameters​

ParameterTypeDescription
contentRefNodeReference<GtcToldDataPageTabContent>A reference to assign to the tab's content.

Returns​

VNode

This page's runway tab, as a VNode.


renderTab()​

protected renderTab(position, label, renderContent?): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:322

Renders a tab for this page's tab container.

Parameters​

ParameterTypeDescription
positionnumberThe position of the tab.
labelstringThe tab label.
renderContent?(contentRef, sidebarState) => VNodeA function which renders the tab contents.

Returns​

VNode

A tab for this page's tab container, as a VNode.


renderTabsWithoutPerformance()​

protected renderTabsWithoutPerformance(): VNode[]

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:294

Renders this page's tabs without performance calculation support.

Returns​

VNode[]

This page's tabs without performance calculation support, as an array of VNodes.


renderTabsWithPerformance()​

protected renderTabsWithPerformance(): VNode[]

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:305

Renders this page's tabs with performance calculation support.

Returns​

VNode[]

This page's tabs without performance calculation support, as an array of VNodes.


renderWeatherTab()​

protected renderWeatherTab(contentRef): VNode

Defined in: workingtitle-instruments-g3000/html_ui/GTC/Pages/ToldPages/GtcToldDataPage.tsx:377

Renders this page's weather tab.

Parameters​

ParameterTypeDescription
contentRefNodeReference<GtcToldDataPageTabContent>A reference to assign to the tab's content.

Returns​

VNode

This page's weather tab, as a VNode.