Class FocusNavigationManipulator

Class Hierarchy

FocusNavigationManipulator converts key gestures into focus chain navigation actions to move the focus between focusable nodes.

The manipulator defines the default key gestures to navigate the focus chain for these keys:

  • Tab key to move the focus to the next focusable node in the focus chain.
  • BackTab key to move the focus to the previous focusable node in the focus chain.

To change these key gestures, call the setFocusNavigationKey() method.

The manipulator dispatches dedicated focus move messages for each detected focus navigation key gesture. The message argument contains the key and the key modifier of the key gesture that triggered the focus move.

Use the FocusScope::setFocusNavigationManipulator() method to set the focus navigation on a focus scope. This makes sure that the root node of the focus scope uses the correct focus navigation manipulator.

Since Kanzi 3.8.0

Inherits properties and message types from FocusNavigationManipulatorMetadata.

Synopsis

Methods
create()

Creates a FocusNavigationManipulator instance

FocusNavigationManipulator.FocusNavigationManipulator:create(anonymous)

Creates a FocusNavigationManipulator instance.