Skip to main content

Abstract Class: G1000AvionicsPlugin<B>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/G1000Plugin.ts:47

An avionics plugin for the G1000 NXi.

Extends​

Extended by​

Type Parameters​

Type ParameterDefault type
B extends G1000PluginBinderG1000PluginBinder

Constructors​

Constructor​

new G1000AvionicsPlugin<B>(binder): G1000AvionicsPlugin<B>

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

Creates an instance of a Plugin.

Parameters​

ParameterTypeDescription
binderBThe avionics specific plugin binder to accept from the system.

Returns​

G1000AvionicsPlugin<B>

Inherited from​

AvionicsPlugin.constructor

Properties​

binder​

protected readonly binder: B

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

The avionics specific plugin binder to accept from the system.

Inherited from​

AvionicsPlugin.binder


onComponentCreated()?​

optional onComponentCreated: (component) => void

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

An optional hook called when a component is created. If this hook is present, it will be called for EVERY component instantiation, so be sure to ensure that this code is well optimized.

Parameters​

ParameterType
componentDisplayComponent<any>

Returns​

void

Inherited from​

AvionicsPlugin.onComponentCreated


onComponentCreating()?​

optional onComponentCreating: (constructor, props) => DisplayComponent<any, []> | undefined

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

An optional hook called when a component is about to be created. Returning a component causes that component to be used instead of the one that was to be created, and returning undefined will cause the original component to be created. If this hook is present, it will be called for EVERY component instantiation, so be sure to ensure that this code is well optimized.

Parameters​

ParameterType
constructorDisplayComponentFactory<any>
propsany

Returns​

DisplayComponent<any, []> | undefined

Inherited from​

AvionicsPlugin.onComponentCreating


onComponentRendered()?​

optional onComponentRendered: (node) => void

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

An optional hook called when a component has completed rendering. If this hook is present, it will be called for EVERY component render completion, so be sure to ensure that this code is well optimized.

Parameters​

ParameterType
nodeVNode

Returns​

void

Inherited from​

AvionicsPlugin.onComponentRendered

Methods​

loadCss()​

protected loadCss(uri): Promise<void>

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

Loads a CSS file into the instrument.

Parameters​

ParameterTypeDescription
uristringThe URI to the CSS file.

Returns​

Promise<void>

Inherited from​

AvionicsPlugin.loadCss


onInstalled()​

abstract onInstalled(): void

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

A callback run when the plugin has been installed.

Returns​

void

Inherited from​

AvionicsPlugin.onInstalled


onMenuSystemInitialized()?​

optional onMenuSystemInitialized(): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/G1000Plugin.ts:52

A lifecycle callback called when the G1000 softkey menu system has been initialized.

Returns​

void


onPageSelectMenuSystemInitialized()?​

optional onPageSelectMenuSystemInitialized(): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/G1000Plugin.ts:66

A lifecycle callback called when the G1000 rotary menu system has been initialized.

Returns​

void


onViewServiceInitialized()?​

optional onViewServiceInitialized(): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/G1000Plugin.ts:59

A lifecycle callback called when the G1000 page view service has been initialized.

Returns​

void


renderEIS()?​

optional renderEIS(): VNode | null

Defined in: workingtitle-instruments-g1000/html_ui/Shared/G1000Plugin.ts:75

Function to be overridden by plugins to render the EIS.

Returns​

VNode | null

null. Callback for rendering the EIS from a plugin.