Skip to main content

Interface: UiFocusableComponent

A UI component that can be focused.

Hierarchy

Implemented by

Properties

canBeFocused

Readonly canBeFocused: Subscribable<boolean>

Whether this component can be focused.

Defined in

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


isUiFocusableComponent

Readonly isUiFocusableComponent: true

Flags this component as a UiFocusableComponent.

Defined in

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

Methods

onDeregistered

onDeregistered(controller): void

Responds to when this component is deregistered with a controller.

Parameters

NameTypeDescription
controllerUiFocusControllerThe controller with which this component was deregistered.

Returns

void

Defined in

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


onFocusGained

onFocusGained(direction): void

Responds to when this component gains focus.

Parameters

NameTypeDescription
directionUiFocusDirectionThe direction from which focus was gained.

Returns

void

Defined in

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


onFocusLost

onFocusLost(): void

Responds to when this component loses focus.

Returns

void

Defined in

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


onRegistered

onRegistered(controller): void

Responds to when this component is registered with a controller.

Parameters

NameTypeDescription
controllerUiFocusControllerThe controller with which this component was registered.

Returns

void

Defined in

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


onUiInteractionEvent

onUiInteractionEvent(event): boolean

Handles a UiInteractionEvent.

Parameters

NameTypeDescription
eventUiInteractionEventThe event to handle.

Returns

boolean

Whether the event was handled.

Inherited from

UiInteractionHandler.onUiInteractionEvent

Defined in

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