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

<init>

Spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, 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

max - maximal value

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