{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

androidx.compose.ui.focus

Interfaces

FocusEventModifier

This interface is deprecated. Use FocusEventModifierNode instead

FocusEventModifierNode

Implement this interface create a modifier node that can be used to observe focus state changes to a FocusTargetNode down the hierarchy.

FocusManager
FocusOrderModifier

This interface is deprecated. Use Modifier.focusProperties() instead

FocusProperties

Properties that are applied to focusTarget that is the first child of the FocusPropertiesModifierNode that sets these properties.

FocusPropertiesModifierNode

Implement this interface create a modifier node that can be used to modify the focus properties of the associated FocusTargetNode.

FocusRequesterModifier

This interface is deprecated. Use FocusRequesterModifierNode instead

FocusRequesterModifierNode

Implement this interface to create a modifier node that can be used to request changes in the focus state of a FocusTargetNode down the hierarchy.

FocusState

The focus state of a FocusTargetNode.

FocusTargetModifierNode

This modifier node can be used to create a modifier that makes a component focusable.

Classes

FocusChangedModifierKt
FocusDirection

The FocusDirection is used to specify the direction for a FocusManager.moveFocus request.

FocusEventModifierKt
FocusModifierKt
FocusOrder

This class is deprecated. Use FocusProperties instead

FocusOrderModifierKt
FocusPropertiesKt
FocusPropertiesModifierNodeKt
FocusRequester

The FocusRequester is used in conjunction with Modifier.focusRequester to send requests to change focus.

FocusRequesterModifierKt
FocusRequesterModifierNodeKt
FocusTargetModifierNodeKt
FocusDirection.Companion
FocusRequester.Companion
FocusRequester.Companion.FocusRequesterFactory

Convenient way to create multiple FocusRequester instances.