ComponentFocusOrderList

interface ComponentFocusOrderList

Stores a doubly linked list of the focusable components of a component tree and allows operations on them.

Functions

canFocus
Link copied to clipboard
common
abstract fun canFocus(component: InternalComponent): Boolean
Tells whether the given InternalComponent is capable of being focused.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
findNext
Link copied to clipboard
common
abstract fun findNext(): InternalComponent
Returns the next component to focus.
findPrevious
Link copied to clipboard
common
abstract fun findPrevious(): InternalComponent
Returns the previous component to focus.
focus
Link copied to clipboard
common
abstract fun focus(component: InternalComponent)
Focuses the given component (if it is possible).
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
isFocused
Link copied to clipboard
common
open fun isFocused(component: InternalComponent): Boolean
refreshFocusables
Link copied to clipboard
common
abstract fun refreshFocusables()
Rebuilds the focus order list.
toString
Link copied to clipboard
common
open fun toString(): String

Properties

focusedComponent
Link copied to clipboard
common
abstract val focusedComponent: InternalComponent

Inheritors

DefaultComponentFocusOrderList
Link copied to clipboard
DefaultComponentContainer
Link copied to clipboard

Sources

(source)
Link copied to clipboard