Interface: FlightPlanDataFieldFactory
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/FlightPlanDataFieldFactory.ts:6
A factory that creates flight plan data fields.
Methods
create()
create<
T>(type):FlightPlanDataField<T> |null
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/FlightPlanDataFieldFactory.ts:12
Creates a new flight plan data field of a given type.
Type Parameters
| Type Parameter |
|---|
T extends FlightPlanDataFieldType |
Parameters
| Parameter | Type | Description |
|---|---|---|
type | T | The type of data field to create. |
Returns
FlightPlanDataField<T> | null
A new flight plan data field of the specified type, or null if one could not be created.