Skip to main content

Class: LatLongTextFormat

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

Format for lla entries

Implements

  • Validator<LatLongInterface>
  • Formatter<LatLongInterface>

Constructors

Constructor

new LatLongTextFormat(options?): LatLongTextFormat

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

Parameters

ParameterType
options?Partial<LatLongTextFormatOptions>

Returns

LatLongTextFormat

Inherit Doc

Properties

nullValueString

nullValueString: string

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

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/WT21/FMC/Framework/FmcFormats.ts:451

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/WT21/FMC/Framework/FmcFormats.ts:460

Parameters

ParameterType
textstring

Returns

null | LatLong

Inherit Doc

Implementation of

Validator.parse