Skip to main content

Class: NextGenDateTimeNavDataFieldTypeRenderer<T>

An abstract next-generation (NXi, G3000, etc) implementation of NavDataFieldTypeRenderer which supports date/time settings.

Type parameters

NameType
Textends NavDataFieldType

Hierarchy

Implements

Constructors

constructor

new NextGenDateTimeNavDataFieldTypeRenderer<T>(dateTimeSettingManager): NextGenDateTimeNavDataFieldTypeRenderer<T>

Constructor.

Type parameters

NameType
Textends NavDataFieldType

Parameters

NameTypeDescription
dateTimeSettingManagerUserSettingManager<DateTimeUserSettingTypes>A date/time user setting manager.

Returns

NextGenDateTimeNavDataFieldTypeRenderer<T>

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:68

Properties

dateTimeSettingManager

Protected Readonly dateTimeSettingManager: UserSettingManager<DateTimeUserSettingTypes>

A date/time user setting manager.

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:68


localOffset

Protected Readonly localOffset: UserSetting<number>

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:60


timeFormat

Protected Readonly timeFormat: UserSetting<DateTimeFormatSettingMode>

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:59


timeFormatMapped

Protected Readonly timeFormatMapped: MappedSubscribable<TimeDisplayFormat>

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:62


FORMAT_SETTING_MAP

Static Protected Readonly FORMAT_SETTING_MAP: Object

Type declaration

NameType
Local12TimeDisplayFormat
Local24TimeDisplayFormat
UTCTimeDisplayFormat

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:53

Methods

render

render(model): VNode

Renders a navigation data field of this renderer's data field type.

Parameters

NameTypeDescription
modelNavDataFieldTypeModelMap[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:72