Spinner input component.
enum class ButtonsType
Spinner buttons layout types. |
|
enum class ForceType
Spinner force rounding types. |
|
open class Spinner : SimplePanel, NumberFormControl
The form field component for spinner control. |
|
open class SpinnerInput : Widget, FormInput
The basic component for spinner control. |
fun Container.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, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner
DSL builder extension function. |
|
fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput
DSL builder extension function. |