Interface: UiFocusableComponent
A UI component that can be focused.
Hierarchy
↳
UiFocusableComponent
Implemented by
CombinedTouchButton
GenericUiFocusableComponent
UiImgTouchButton
UiListFocusable
UiSetValueTouchButton
UiToggleTouchButton
UiTouchButton
UiTouchButtonFocusModule
UiTouchSlider
UiTouchSliderFocusModule
UiValueTouchButton
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
Name | Type | Description |
---|---|---|
controller | UiFocusController | The 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
Name | Type | Description |
---|---|---|
direction | UiFocusDirection | The 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
Name | Type | Description |
---|---|---|
controller | UiFocusController | The 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
Name | Type | Description |
---|---|---|
event | UiInteractionEvent | The 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