interface BoolFormControl : FormControl
Base interface of a form control with a boolean value.
abstract var value: Boolean
Boolean value. |
abstract var disabled: Boolean
Determines if the field is disabled. |
|
abstract val flabel: FieldLabel
Form field label. |
|
abstract val input: Component
The actual input component. |
|
abstract var size: InputSize?
Input control size. |
|
abstract val validationInfo: HelpBlock
Validation info component. |
|
open var validatorError: String?
Validator error message. |
open fun getValue(): Boolean
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. |
open class CheckBox : SimplePanel, BoolFormControl
The form field component rendered as HTML input type="checkbox". |
|
open class Radio : SimplePanel, BoolFormControl
The form field component rendered as HTML input type="radio". |