spinner

fun <T, M : SpinButtonModel<T>> spinner(model: M, itemVisualizer: ItemVisualizer<T, SpinButton<T, M>> = toString(StringVisualizer()), config: (SpinButton<T, M>) -> Unit = {}): FieldVisualizer<T>(source)

Deprecated

Use spinButton

Replace with

spinButton(model,itemVisualizer,config)

fun <T> spinner(first: T, vararg rest: T, itemVisualizer: ItemVisualizer<T, SpinButton<T, *>>, config: (SpinButton<T, *>) -> Unit = {}): FieldVisualizer<T>(source)

Deprecated

Use spinButton

Replace with

spinButton(first, *rest, itemVisualizer = itemVisualizer, config = config)

fun <T> spinner(first: T, vararg rest: T, label: (T) -> String = { "$it" }, config: (SpinButton<T, *>) -> Unit = {}): FieldVisualizer<T>(source)

Deprecated

Use spinButton

Replace with

spinButton(first, *rest, label = label, config = config)