interface NumberFormControl : FormControl
Base interface of a form control with a numeric value.
abstract var value: Number?
Numeric value. |
open var disabled: Boolean
Determines if the field is disabled. |
|
abstract val flabel: FieldLabel
Form field label. |
|
abstract val input: FormInput
The actual input component. |
|
abstract val invalidFeedback: InvalidFeedback
Invalid feedback component. |
|
open var name: String?
The name attribute of the generated HTML input element. |
|
open var size: InputSize?
Input control field size. |
|
open var validationStatus: ValidationStatus?
Input control validation status. |
|
open var validatorError: String?
Validator error message. |
open fun getValue(): Number?
Returns the value of the control. |
|
open fun getValueAsString(): String?
Returns the value of the control as a String. |
|
open fun setValue(v: Any?): Unit
Sets the value of the control. |
abstract fun blur(): Unit
Makes the input element blur. |
|
abstract fun focus(): Unit
Makes the input element focused. |
|
open fun styleForHorizontalFormPanel(horizontalRatio: FormHorizontalRatio): Unit
Style form control element for horizontal form panel. |
|
open fun styleForInlineFormPanel(): Unit
Style form control element for inline form panel. |
|
open fun styleForVerticalFormPanel(): Unit
Style form control element for vertical form panel. |
fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit |
|
fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit |
|
fun Component.addBsClearfix(): Unit |
|
fun Component.addBsColor(bsColor: BsColor): Unit |
|
fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit |
|
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |
|
fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit |
|
fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit |
|
fun Component.removeBsClearfix(): Unit |
|
fun Component.removeBsColor(bsColor: BsColor): Unit |
|
fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit |
open class Spinner : SimplePanel, NumberFormControl
The form field component for spinner control. |