Class: NextGenDisplayUnitNavDataFieldTypeRenderer<T>
An abstract next-generation (NXi, G3000, etc) implementation of NavDataFieldTypeRenderer which supports display unit settings.
Type parameters
Name | Type |
---|---|
T | extends NavDataFieldType |
Hierarchy
NextGenDisplayUnitNavDataFieldTypeRenderer
↳
NextGenNavDataFieldBrgRenderer
↳
NextGenNavDataFieldDestRenderer
↳
NextGenNavDataFieldDisRenderer
↳
NextGenNavDataFieldDtgRenderer
↳
NextGenNavDataFieldDtkRenderer
↳
NextGenNavDataFieldEndRenderer
↳
NextGenNavDataFieldEnrRenderer
↳
NextGenNavDataFieldEteRenderer
↳
NextGenNavDataFieldFobRenderer
↳
NextGenNavDataFieldFodRenderer
↳
NextGenNavDataFieldGsRenderer
↳
NextGenNavDataFieldIsaRenderer
↳
NextGenNavDataFieldTasRenderer
↳
NextGenNavDataFieldTkeRenderer
↳
NextGenNavDataFieldTrkRenderer
Implements
Constructors
constructor
• new NextGenDisplayUnitNavDataFieldTypeRenderer<T
>(unitsSettingManager
): NextGenDisplayUnitNavDataFieldTypeRenderer
<T
>
Constructor.
Type parameters
Name | Type |
---|---|
T | extends NavDataFieldType |
Parameters
Name | Type | Description |
---|---|---|
unitsSettingManager | UnitsUserSettingManager <UnitsUserSettingTypes > | A user setting manager for measurement units. |
Returns
NextGenDisplayUnitNavDataFieldTypeRenderer
<T
>
Defined in
src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:41
Properties
unitsSettingManager
• Protected
Readonly
unitsSettingManager: UnitsUserSettingManager
<UnitsUserSettingTypes
>
A user setting manager for measurement units.
Defined in
src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:41
ALTITUDE_FORMATTER
▪ Static
Protected
Readonly
ALTITUDE_FORMATTER: (number
: number
) => string
Type declaration
▸ (number
): string
Parameters
Name | Type |
---|---|
number | number |
Returns
string
Defined in
src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:22
ANGLE_FORMATTER
▪ Static
Protected
Readonly
ANGLE_FORMATTER: (number
: number
) => string
Type declaration
▸ (number
): string
Parameters
Name | Type |
---|---|
number | number |
Returns
string
Defined in
src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:23
BEARING_FORMATTER
▪ Static
Protected
Readonly
BEARING_FORMATTER: (number
: number
) => string
Type declaration
▸ (number
): string
Parameters
Name | Type |
---|---|
number | number |
Returns
string
Defined in
src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:24
DISTANCE_FORMATTER
▪ Static
Protected
Readonly
DISTANCE_FORMATTER: (number
: number
) => string
Type declaration
▸ (number
): string
Parameters
Name | Type |
---|---|
number | number |
Returns
string
Defined in
src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:25
DURATION_OPTIONS
▪ Static
Protected
Readonly
DURATION_OPTIONS: Object
Type declaration
Name | Type |
---|---|
delim | DurationDisplayDelim |
format | DurationDisplayFormat |
nanString | string |
pad | number |
Defined in
src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:30
FUEL_FORMATTER
▪ Static
Protected
Readonly
FUEL_FORMATTER: (number
: number
) => string
Type declaration
▸ (number
): string
Parameters
Name | Type |
---|---|
number | number |
Returns
string
Defined in
src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:26
ISA_FORMATTER
▪ Static
Protected
Readonly
ISA_FORMATTER: (number
: number
) => string
Type declaration
▸ (number
): string
Parameters
Name | Type |
---|---|
number | number |
Returns
string
Defined in
src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:27
SPEED_FORMATTER
▪ Static
Protected
Readonly
SPEED_FORMATTER: (number
: number
) => string
Type declaration
▸ (number
): string
Parameters
Name | Type |
---|---|
number | number |
Returns
string
Defined in
src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:28
TEMPERATURE_FORMATTER
▪ Static
Protected
Readonly
TEMPERATURE_FORMATTER: (number
: number
) => string
Type declaration
▸ (number
): string
Parameters
Name | Type |
---|---|
number | number |
Returns
string
Defined in
src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:29
Methods
render
▸ render(model
): VNode
Renders a navigation data field of this renderer's data field type.
Parameters
Name | Type | Description |
---|---|---|
model | NavDataFieldTypeModelMap [T ] | The data model to use for the data field. |
Returns
VNode
A navigation data field of this renderer's data field type, as a VNode.
Implementation of
NavDataFieldTypeRenderer.render
Defined in
src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:45