setZIndex

abstract fun setZIndex(component: T, zIndex: Int)

Puts the component in the appropriate place compared to the other components by the zIndex.

Parameters

component

Child that is moved accordingly.

zIndex

The value that is used to compare the order of components.