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
DisplayPaneInsetView
<FlightPlanTextInsetProps
>
Constructors
Constructor
new FlightPlanTextInset(
props
):FlightPlanTextInset
Defined in: src/sdk/components/FSComponent.ts:73
Creates an instance of a DisplayComponent.
Parameters
Parameter | Type | Description |
---|---|---|
props | FlightPlanTextInsetProps | The propertis of the component. |
Returns
FlightPlanTextInset
Inherited from
DisplayPaneInsetView<FlightPlanTextInsetProps>.constructor
Properties
context?
optional
context: [] =undefined
Defined in: src/sdk/components/FSComponent.ts:64
The context on this component, if any.
Inherited from
DisplayPaneInsetView.context
contextType?
readonly
optional
contextType: readonly [] =undefined
Defined in: src/sdk/components/FSComponent.ts:67
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:61
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:106
Gets a context data subscription from the context collection.
Parameters
Parameter | Type | Description |
---|---|---|
context | never | The 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:80
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
Parameter | Type | Description |
---|---|---|
event | FlightPlanTextUpdateData | The 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
Parameter | Type |
---|---|
size | DisplayPaneSizeMode |
width | number |
height | number |
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
Parameter | Type |
---|---|
size | DisplayPaneSizeMode |
width | number |
height | number |
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
Parameter | Type | Description |
---|---|---|
time | number | The 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