kvision / pl.treksoft.kvision.form.spinner / Spinner / <init>

<init>

Spinner(value: Number? = null, name: String? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false)

Parameters

value - spinner value

name - the name attribute of the generated HTML input element

min - minimal value (default 0)

max - maximal value (default 100)

step - step value (default 1)

decimals - number of decimal digits (default 0)

buttonsType - spinner buttons type

forceType - spinner force rounding type

label - label text bound to the input element

rich - determines if label can contain HTML code

Constructor