Class: SimpleStringFormat
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:563
Formatter for displaying a string without a takeValue call
Implements
Formatter
<string
>
Constructors
Constructor
new SimpleStringFormat(
nullValue
):SimpleStringFormat
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:569
ctor
Parameters
Parameter | Type | Description |
---|---|---|
nullValue | string | the string value for null |
Returns
SimpleStringFormat
Properties
nullValueString
nullValueString:
string
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:564
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:574
Parameters
Parameter | Type |
---|---|
value | null | string |
Returns
string
Inherit Doc
Implementation of
Formatter.format