FocusTraversalPolicy

This interface defines the way focus moves over the children of a View.

Inheritors

Types

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun default(display: Display): View?
abstract fun default(within: View): View?

Returns the item in a View that should receive focus by default.

Link copied to clipboard
abstract fun first(display: Display): View?
abstract fun first(within: View): View?

Returns the first item in a View that should receive focus.

Link copied to clipboard
abstract fun last(display: Display): View?
abstract fun last(within: View): View?

Returns the last item in a View that should receive focus.

Link copied to clipboard
abstract fun next(display: Display, from: View?): View?
abstract fun next(within: View, from: View?): View?

Returns the next item in a View based on the given View.

Link copied to clipboard
abstract fun previous(display: Display, from: View?): View?
abstract fun previous(within: View, from: View?): View?

Returns the previous item in a View based on the given View.