Abstract Class: G1000PfdAvionicsPlugin
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/G1000PfdPlugin.ts:8
A G1000 PFD plugin.
Extends
Constructors
Constructor
new G1000PfdAvionicsPlugin(
binder
):G1000PfdAvionicsPlugin
Defined in: sdk/components/FSComponent.ts:1461
Creates an instance of a Plugin.
Parameters
Parameter | Type | Description |
---|---|---|
binder | G1000PfdPluginBinder | The avionics specific plugin binder to accept from the system. |
Returns
G1000PfdAvionicsPlugin
Inherited from
G1000AvionicsPlugin
.constructor
Properties
binder
protected
readonly
binder:G1000PfdPluginBinder
Defined in: sdk/components/FSComponent.ts:1461
The avionics specific plugin binder to accept from the system.
Inherited from
onComponentCreated()?
optional
onComponentCreated: (component
) =>void
Defined in: sdk/components/FSComponent.ts:1481
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
Parameter | Type |
---|---|
component | DisplayComponent <any > |
Returns
void
Inherited from
G1000AvionicsPlugin
.onComponentCreated
onComponentCreating()?
optional
onComponentCreating: (constructor
,props
) =>undefined
|DisplayComponent
<any
, []>
Defined in: sdk/components/FSComponent.ts:1474
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
Parameter | Type |
---|---|
constructor | DisplayComponentFactory <any > |
props | any |
Returns
undefined
| DisplayComponent
<any
, []>
Inherited from
G1000AvionicsPlugin
.onComponentCreating
onComponentRendered()?
optional
onComponentRendered: (node
) =>void
Defined in: sdk/components/FSComponent.ts:1488
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
Parameter | Type |
---|---|
node | VNode |
Returns
void
Inherited from
G1000AvionicsPlugin
.onComponentRendered
Methods
loadCss()
protected
loadCss(uri
):Promise
<void
>
Defined in: sdk/components/FSComponent.ts:1494
Loads a CSS file into the instrument.
Parameters
Parameter | Type | Description |
---|---|---|
uri | string | The URI to the CSS file. |
Returns
Promise
<void
>
Inherited from
onInstalled()
abstract
onInstalled():void
Defined in: sdk/components/FSComponent.ts:1466
A callback run when the plugin has been installed.
Returns
void
Inherited from
G1000AvionicsPlugin
.onInstalled
onMenuSystemInitialized()?
optional
onMenuSystemInitialized():void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/G1000Plugin.ts:52
A lifecycle callback called when the G1000 softkey menu system has been initialized.
Returns
void
Inherited from
G1000AvionicsPlugin
.onMenuSystemInitialized
onPageSelectMenuSystemInitialized()?
optional
onPageSelectMenuSystemInitialized():void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/G1000Plugin.ts:66
A lifecycle callback called when the G1000 rotary menu system has been initialized.
Returns
void
Inherited from
G1000AvionicsPlugin
.onPageSelectMenuSystemInitialized
onViewServiceInitialized()?
optional
onViewServiceInitialized():void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/G1000Plugin.ts:59
A lifecycle callback called when the G1000 page view service has been initialized.
Returns
void
Inherited from
G1000AvionicsPlugin
.onViewServiceInitialized
renderEIS()?
optional
renderEIS():null
|VNode
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/G1000Plugin.ts:75
Function to be overridden by plugins to render the EIS.
Returns
null
| VNode
null. Callback for rendering the EIS from a plugin.
Inherited from
renderToPfdInstruments()?
optional
renderToPfdInstruments():null
|VNode
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/G1000PfdPlugin.ts:13
Renders components to the PFD instrument container.
Returns
null
| VNode
The rendered vnode