Skip to main content

Class: Gdu460Display

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/GduDisplay/Gdu460/Gdu460Display.tsx:25

A GDU460 (10.6-inch landscape) display.

Extends​

Implements​

Constructors​

Constructor​

new Gdu460Display(props): Gdu460Display

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

Creates an instance of a DisplayComponent.

Parameters​

ParameterTypeDescription
propsGduDisplayPropsThe propertis of the component.

Returns​

Gdu460Display

Inherited from​

DisplayComponent<GduDisplayProps>.constructor

Properties​

context?​

optional context: [] = undefined

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

The context on this component, if any.

Implementation of​

GduDisplay.context

Inherited from​

DisplayComponent.context


contextType?​

readonly optional contextType: readonly [] = undefined

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

The type of context for this component, if any.

Implementation of​

GduDisplay.contextType

Inherited from​

DisplayComponent.contextType


props​

props: GduDisplayProps & ComponentProps

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

The properties of the component.

Implementation of​

GduDisplay.props

Inherited from​

DisplayComponent.props

Methods​

destroy()​

destroy(): void

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

Destroys this component.

Returns​

void

Implementation of​

GduDisplay.destroy

Inherited from​

DisplayComponent.destroy


getContext()​

protected getContext(context): never

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

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.

Implementation of​

GduDisplay.getContext

Inherited from​

DisplayComponent.getContext


onAfterRender()​

onAfterRender(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/GduDisplay/Gdu460/Gdu460Display.tsx:58

A callback that is called after the component is rendered.

Returns​

void

Implementation of​

GduDisplay.onAfterRender

Overrides​

DisplayComponent.onAfterRender


onAvionicsStatusChanged()​

onAvionicsStatusChanged(event): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/GduDisplay/Gdu460/Gdu460Display.tsx:106

Responds to when the avionics status of this display's parent instrument changes.

Parameters​

ParameterTypeDescription
eventReadonly<AvionicsStatusChangeEvent>The event describing the avionics status change.

Returns​

void

Implementation of​

GduDisplay.onAvionicsStatusChanged


onBeforeRender()​

onBeforeRender(): void

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

A callback that is called before the component is rendered.

Returns​

void

Implementation of​

GduDisplay.onBeforeRender

Inherited from​

DisplayComponent.onBeforeRender


render()​

render(): VNode

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/GduDisplay/Gdu460/Gdu460Display.tsx:143

Renders the component.

Returns​

VNode

A JSX element to be rendered.

Implementation of​

GduDisplay.render

Overrides​

DisplayComponent.render