Class: NextGenDateTimeNavDataFieldTypeRenderer<T>
An abstract next-generation (NXi, G3000, etc) implementation of NavDataFieldTypeRenderer which supports date/time settings.
Type parameters
Name | Type |
---|---|
T | extends NavDataFieldType |
Hierarchy
NextGenDateTimeNavDataFieldTypeRenderer
Implements
Constructors
constructor
• new NextGenDateTimeNavDataFieldTypeRenderer<T
>(dateTimeSettingManager
): NextGenDateTimeNavDataFieldTypeRenderer
<T
>
Constructor.
Type parameters
Name | Type |
---|---|
T | extends NavDataFieldType |
Parameters
Name | Type | Description |
---|---|---|
dateTimeSettingManager | UserSettingManager <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
Name | Type |
---|---|
Local12 | TimeDisplayFormat |
Local24 | TimeDisplayFormat |
UTC | TimeDisplayFormat |
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
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:72