Skip to main content

Class: FlightPlanTextInset

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/NavigationMap/FlightPlanTextInset/FlightPlanTextInset.tsx:37

A flight plan text inset for the navigation map pane. Diplays information on up to five flight plan legs and information related to the current VNAV profile.

Extends​

Constructors​

Constructor​

new FlightPlanTextInset(props): FlightPlanTextInset

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

Creates an instance of a DisplayComponent.

Parameters​

ParameterTypeDescription
propsFlightPlanTextInsetPropsThe propertis of the component.

Returns​

FlightPlanTextInset

Inherited from​

DisplayPaneInsetView<FlightPlanTextInsetProps>.constructor

Properties​

context?​

optional context: [] = undefined

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

The context on this component, if any.

Inherited from​

DisplayPaneInsetView.context


contextType?​

readonly optional contextType: readonly [] = undefined

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

The type of context for this component, if any.

Inherited from​

DisplayPaneInsetView.contextType


isPfd​

readonly isPfd: boolean

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/DisplayPanes/DisplayPaneInsetView.ts:15

Inherited from​

DisplayPaneInsetView.isPfd


props​

props: FlightPlanTextInsetProps & ComponentProps

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

The properties of the component.

Inherited from​

DisplayPaneInsetView.props

Methods​

destroy()​

destroy(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/NavigationMap/FlightPlanTextInset/FlightPlanTextInset.tsx:106

Destroys subs and comps.

Returns​

void

Overrides​

DisplayPaneInsetView.destroy


getContext()​

protected getContext(context): never

Defined in: src/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​

DisplayPaneInsetView.getContext


onAfterRender()​

onAfterRender(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/NavigationMap/FlightPlanTextInset/FlightPlanTextInset.tsx:46

Returns​

void

Inherit Doc​

Overrides​

DisplayPaneInsetView.onAfterRender


onBeforeRender()​

onBeforeRender(): void

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

A callback that is called before the component is rendered.

Returns​

void

Inherited from​

DisplayPaneInsetView.onBeforeRender


onFlightPlanTextInsetEvent()​

onFlightPlanTextInsetEvent(event): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/NavigationMap/FlightPlanTextInset/FlightPlanTextInset.tsx:76

Handles the flight plan text update event.

Parameters​

ParameterTypeDescription
eventFlightPlanTextUpdateDataThe event.

Returns​

void


onPause()​

onPause(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/NavigationMap/FlightPlanTextInset/FlightPlanTextInset.tsx:61

Returns​

void

Inherit Doc​

Overrides​

DisplayPaneInsetView.onPause


onResize()​

onResize(size, width, height): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/NavigationMap/FlightPlanTextInset/FlightPlanTextInset.tsx:68

Parameters​

ParameterType
sizeDisplayPaneSizeMode
widthnumber
heightnumber

Returns​

void

Inherit Doc​

Overrides​

DisplayPaneInsetView.onResize


onResume()​

onResume(size, width, height): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/NavigationMap/FlightPlanTextInset/FlightPlanTextInset.tsx:54

Parameters​

ParameterType
sizeDisplayPaneSizeMode
widthnumber
heightnumber

Returns​

void

Inherit Doc​

Overrides​

DisplayPaneInsetView.onResume


onUpdate()​

onUpdate(time): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/DisplayPanes/DisplayPaneInsetView.ts:48

Called every update cycle.

Parameters​

ParameterTypeDescription
timenumberThe current real (operating system) time, as a UNIX timestamp in milliseconds.

Returns​

void

Inherited from​

DisplayPaneInsetView.onUpdate


render()​

render(): VNode

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/NavigationMap/FlightPlanTextInset/FlightPlanTextInset.tsx:81

Returns​

VNode

Inherit Doc​

Overrides​

DisplayPaneInsetView.render