interface FormControl : Component
Base interface of a form control.
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. |
abstract var parent: Component?
Parent of the current component. |
|
abstract var visible: Boolean
Visibility state of the current component. |
abstract fun getValue(): Any?
Returns the value of the control. |
|
abstract fun getValueAsString(): String?
Returns the value of the control as a String. |
|
abstract fun setValue(v: Any?): Unit
Sets the value of the control. |
abstract fun addCssClass(css: String): Component
Adds given value to the set of CSS classes generated in html code of current component. |
|
abstract fun addSurroundingCssClass(css: String): Component
Adds given value to the set of CSS classes generated in html code of parent component. |
|
abstract fun getElement(): Node?
Returns DOM element bound to the current component. |
|
abstract fun getElementJQuery(): JQuery?
Returns JQuery element bound to the current component. |
|
abstract fun getElementJQueryD(): dynamic
Returns JQuery element bound to the current component as a dynamic type. |
|
abstract fun removeCssClass(css: String): Component
Removes given value from the set of CSS classes generated in html code of current component. |
|
abstract fun removeSurroundingCssClass(css: String): Component
Removes given value from the set of CSS classes generated in html code of parent component. |
interface BoolFormControl : FormControl
Base interface of a form control with a boolean value. |
|
interface DateFormControl : FormControl
Base interface of a form control with a date value. |
|
interface NumberFormControl : FormControl
Base interface of a form control with a numeric value. |
|
interface StringFormControl : FormControl
Base interface of a form control with a text value. |