HorizontalListPositioner

open class HorizontalListPositioner(val width: Double, numRows: Int = 1, val spacing: Double = 0.0)(source)

Inheritors

Constructors

Link copied to clipboard
constructor(width: Double, numRows: Int = 1, spacing: Double = 0.0)

Properties

Link copied to clipboard
protected val numRows: Int
Link copied to clipboard
protected open val spacing: Double = 0.0
Link copied to clipboard
protected open val width: Double

Functions

Link copied to clipboard
fun itemBounds(size: Size, insets: Insets, index: Int, current: View? = null): Rectangle
Link copied to clipboard
fun itemFor(size: Size, insets: Insets, at: Point): Int
Link copied to clipboard
fun minimumSize(numItems: Int, insets: Insets): Size