Skip to main content

Class: G1000PfdAvionicsPlugin

A G1000 PFD plugin.

Hierarchy

Constructors

constructor

new G1000PfdAvionicsPlugin(binder): G1000PfdAvionicsPlugin

Creates an instance of a Plugin.

Parameters

NameTypeDescription
binderG1000PfdPluginBinderThe avionics specific plugin binder to accept from the system.

Returns

G1000PfdAvionicsPlugin

Inherited from

G1000AvionicsPlugin.constructor

Defined in

sdk/components/FSComponent.ts:1424

Properties

binder

Protected Readonly binder: G1000PfdPluginBinder

The avionics specific plugin binder to accept from the system.

Inherited from

G1000AvionicsPlugin.binder

Defined in

sdk/components/FSComponent.ts:1424


onComponentCreated

Optional onComponentCreated: (component: DisplayComponent<any, []>) => void

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.

Type declaration

▸ (component): void

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
NameType
componentDisplayComponent<any, []>
Returns

void

Inherited from

G1000AvionicsPlugin.onComponentCreated

Defined in

sdk/components/FSComponent.ts:1444


onComponentCreating

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

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.

Type declaration

▸ (constructor, props): undefined | DisplayComponent<any, []>

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
NameType
constructorDisplayComponentFactory<any, []>
propsany
Returns

undefined | DisplayComponent<any, []>

Inherited from

G1000AvionicsPlugin.onComponentCreating

Defined in

sdk/components/FSComponent.ts:1437


onComponentRendered

Optional onComponentRendered: (node: VNode) => void

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.

Type declaration

▸ (node): void

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
NameType
nodeVNode
Returns

void

Inherited from

G1000AvionicsPlugin.onComponentRendered

Defined in

sdk/components/FSComponent.ts:1451

Methods

loadCss

loadCss(uri): Promise<void>

Loads a CSS file into the instrument.

Parameters

NameTypeDescription
uristringThe URI to the CSS file.

Returns

Promise<void>

Inherited from

G1000AvionicsPlugin.loadCss

Defined in

sdk/components/FSComponent.ts:1457


onInstalled

onInstalled(): void

A callback run when the plugin has been installed.

Returns

void

Inherited from

G1000AvionicsPlugin.onInstalled

Defined in

sdk/components/FSComponent.ts:1429


onMenuSystemInitialized

onMenuSystemInitialized(): void

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

Returns

void

Inherited from

G1000AvionicsPlugin.onMenuSystemInitialized

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/G1000Plugin.ts:52


onPageSelectMenuSystemInitialized

onPageSelectMenuSystemInitialized(): void

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

Returns

void

Inherited from

G1000AvionicsPlugin.onPageSelectMenuSystemInitialized

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/G1000Plugin.ts:66


onViewServiceInitialized

onViewServiceInitialized(): void

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

Returns

void

Inherited from

G1000AvionicsPlugin.onViewServiceInitialized

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/G1000Plugin.ts:59


renderEIS

renderEIS(): null | VNode

Function to be overridden by plugins to render the EIS.

Returns

null | VNode

null. Callback for rendering the EIS from a plugin.

Inherited from

G1000AvionicsPlugin.renderEIS

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/G1000Plugin.ts:75


renderToPfdInstruments

renderToPfdInstruments(): null | VNode

Renders components to the PFD instrument container.

Returns

null | VNode

The rendered vnode

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/G1000PfdPlugin.ts:13