Skip to main content

Class: LatLongTextFormat

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:432

Format for lla entries

Implements

Constructors

Constructor

new LatLongTextFormat(options?): LatLongTextFormat

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:440

Parameters

ParameterType
options?Partial<LatLongTextFormatOptions>

Returns

LatLongTextFormat

Inherit Doc

Properties

nullValueString

nullValueString: string

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:437

The string to show when a value is null

Implementation of

Formatter.nullValueString

Methods

format()

format(value): string

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:450

Parameters

ParameterType
valueLatLongInterface

Returns

string

Inherit Doc

Implementation of

Formatter.format


parse()

parse(text): null | LatLong

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:459

Parameters

ParameterType
textstring

Returns

null | LatLong

Inherit Doc

Implementation of

Validator.parse