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
| Parameter | Type |
|---|---|
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
| Parameter | Type |
|---|---|
value | LatLongInterface |
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
| Parameter | Type |
|---|---|
text | string |
Returns
null | LatLong
Inherit Doc
Implementation of
Validator.parse