Optional
focusedThe currently focused view.
Indicates whether the focus is locked on the native renderer.
Locks focus on the specified focusable element (internal use only).
The element to lock focus on.
Unlocks focus, allowing focus transitions (internal use only).
Internal method to handle periodic updates for focus management.
Toggles the visibility of the debug view (internal use only).
Adds a debug view for visualizing focus transitions and states.
Handles a key event and updates the focus state accordingly.
The key that was pressed or released.
Whether the key is currently pressed.
Resets the focus state to its initial state.
Sets focus to the specified focusable element.
The element to focus on.
Optional
forced: booleanWhether to force the focus change, even if focus is locked (default: false).
An operation result indicating success or failure.
Sets the native focus on the specified renderer.
Optional
renderer: ISGNNodeThe renderer to set focus on.
Interface representing the focus manager, responsible for managing focus transitions, handling key events, and providing debug utilities for focus management.