Skip to main content

Class: DefaultFlightPlanDataFieldFactory

A default implementation of FlightPlanDataFieldFactory.

Implements

Constructors

constructor

new DefaultFlightPlanDataFieldFactory(): DefaultFlightPlanDataFieldFactory

Returns

DefaultFlightPlanDataFieldFactory

Methods

create

create<T>(type): null | FlightPlanDataField<T>

Creates a new flight plan data field of a given type.

Type parameters

NameType
Textends FlightPlanDataFieldType

Parameters

NameTypeDescription
typeTThe type of data field to create.

Returns

null | FlightPlanDataField<T>

A new flight plan data field of the specified type, or null if one could not be created.

Implementation of

FlightPlanDataFieldFactory.create

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/DefaultFlightPlanDataFieldFactory.ts:11