Skip to main content

Class: UiInteractionMapper

A mapper of H events to UiInteractionEvents.

Constructors

constructor

new UiInteractionMapper(instrumentIndex): UiInteractionMapper

Creates a new instance of UiInteractionMapper.

Parameters

NameTypeDescription
instrumentIndexnumberThe index of the instrument for which this mapper maps events.

Returns

UiInteractionMapper

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiInteractionMapper.ts:32

Methods

mapEvent

mapEvent(hEvent): undefined | UiInteractionEvent

Maps an H event to its corresponding UiInteractionEvent.

Parameters

NameTypeDescription
hEventstringThe H event to map.

Returns

undefined | UiInteractionEvent

The UiInteractionEvent corresponding to the specified H event, or undefined if the H event could not be mapped.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiInteractionMapper.ts:46