Class: MfdFplPageDataFieldRenderer
A renderer of flight plan data fields for the MFD FPL page.
Constructors
constructor
• new MfdFplPageDataFieldRenderer(isCumulative
, unitsSettingManager
, dateTimeSettingManager
): MfdFplPageDataFieldRenderer
Creates a new instance of MfdFplPageDataFieldRenderer.
Parameters
Name | Type | Description |
---|---|---|
isCumulative | boolean | Whether this renderer should render flight plan cumulative data fields instead of flight plan leg data fields. |
unitsSettingManager | G3XUnitsUserSettingManager | A manager for display unit user settings. |
dateTimeSettingManager | UserSettingManager <DateTimeUserSettingTypes > | A manager for date/time user settings. |
Returns
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/MainView/Pages/MfdFplPage/DataField/MfdFplPageDataFieldRenderer.tsx:36
Methods
destroy
▸ destroy(): void
Destroys this renderer. After the renderer is destroyed, it can no longer render data fields.
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/MainView/Pages/MfdFplPage/DataField/MfdFplPageDataFieldRenderer.tsx:154
render
▸ render(dataField
): null
| VNode
Renders a flight plan data field.
Parameters
Name | Type | Description |
---|---|---|
dataField | FlightPlanDataField <FlightPlanDataFieldType > | The data field to render. |
Returns
null
| VNode
The rendered data field, as a VNode, or null
if the data field could not be rendered.
Throws
Error if this renderer has been destroyed.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/MainView/Pages/MfdFplPage/DataField/MfdFplPageDataFieldRenderer.tsx:49