set

operator fun set(traversalType: FocusTraversalPolicy.TraversalType, keyStates: Set<KeyState>?)

Sets the keys used to control focus traversals of the given type.

Parameters

traversalType

The traversal type

keyStates

The set of keys that will trigger this type of traversal