BasicVerticalListPositioner

open class BasicVerticalListPositioner<T>(height: Double, numColumns: Int = 1, spacing: Double = 0.0) : VerticalListPositioner, ListBehavior.ItemPositioner<T> (source)

Constructors

Link copied to clipboard
constructor(height: Double, numColumns: Int = 1, spacing: Double = 0.0)

Properties

Link copied to clipboard
protected open val height: Double
Link copied to clipboard
protected val numColumns: Int
Link copied to clipboard
protected open val spacing: Double

Functions

Link copied to clipboard
open override fun item(of: List<T, *>, at: Point): Int
Link copied to clipboard
fun itemBounds(size: Size, insets: Insets, index: Int, current: View? = null): Rectangle
open override fun itemBounds(of: List<T, *>, item: T, index: Int, view: View?): 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
open override fun minimumSize(of: List<T, *>): Size