Interface: G3000Plugin<Binder>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/G3000Plugin.ts:57
A G3000 plugin.
Extends
AvionicsPlugin<Binder>
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
Binder extends G3000PluginBinder | G3000PluginBinder |
Properties
binder
protectedreadonlybinder:Binder
Defined in: src/sdk/components/FSComponent.ts:1461
The avionics specific plugin binder to accept from the system.
Inherited from
onComponentCreated()?
optionalonComponentCreated: (component) =>void
Defined in: src/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
AvionicsPlugin.onComponentCreated
onComponentCreating()?
optionalonComponentCreating: (constructor,props) =>undefined|DisplayComponent<any, []>
Defined in: src/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
AvionicsPlugin.onComponentCreating
onComponentRendered()?
optionalonComponentRendered: (node) =>void
Defined in: src/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
AvionicsPlugin.onComponentRendered
Methods
getChartsSources()?
optionalgetChartsSources():undefined|Iterable<G3000ChartsSourceFactory,any,any>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/G3000Plugin.ts:73
Gets factories for additional electronic charts sources.
Returns
undefined | Iterable<G3000ChartsSourceFactory, any, any>
Factories for additional electronic charts sources, or undefined if there are no additional sources.
getChecklistDef()?
optionalgetChecklistDef():undefined|G3000ChecklistSetDef
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/G3000Plugin.ts:79
Gets a checklist definition to be used by the electronic checklist system.
Returns
undefined | G3000ChecklistSetDef
A checklist definition, or undefined if checklists are not to be supported.
loadCss()
protectedloadCss(uri):Promise<void>
Defined in: src/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
onChecklistInit()?
optionalonChecklistInit(checklistDef,checklistStateProvider?):void
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/G3000Plugin.ts:87
Lifecycle method called when the electronic checklist system is initialized.
Parameters
| Parameter | Type | Description |
|---|---|---|
checklistDef | undefined | G3000ChecklistSetDef | The checklist definition used by the checklist system, or undefined if checklists are not supported. |
checklistStateProvider? | G3000ChecklistStateProvider | A provider of checklist state, or undefined if checklists are not supported. |
Returns
void
onInit()
onInit():
void
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/G3000Plugin.ts:61
Lifecycle method called during instrument initialization.
Returns
void
onInstalled()
abstractonInstalled():void
Defined in: src/sdk/components/FSComponent.ts:1466
A callback run when the plugin has been installed.
Returns
void
Inherited from
renderToDisplayOverlay()?
optionalrenderToDisplayOverlay():null|VNode
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/G3000Plugin.ts:67
Renders components to the display overlay.
Returns
null | VNode
A VNode to render to the display overlay, or null to render nothing.