kvision / pl.treksoft.kvision.form / StringFormControl

StringFormControl

(js) interface StringFormControl : FormControl

Base interface of a form control with a text value.

Properties

(js)

value

Text value.

abstract var value: String?

Functions

(js)

getValue

Returns the value of the control.

open fun getValue(): String?
(js)

getValueAsString

Returns the value of the control as a String.

open fun getValueAsString(): String?
(js)

setValue

Sets the value of the control.

open fun setValue(v: Any?): Unit

Extension Functions

(js)

addBsBgColor

fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
(js)

addBsBorder

fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
(js)

addBsClearfix

fun Component.addBsClearfix(): Unit
(js)

addBsColor

fun Component.addBsColor(bsColor: BsColor): Unit
(js)

addBsRounded

fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
(js)

removeBsBgColor

fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
(js)

removeBsBorder

fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
(js)

removeBsClearfix

fun Component.removeBsClearfix(): Unit
(js)

removeBsColor

fun Component.removeBsColor(bsColor: BsColor): Unit
(js)

removeBsRounded

fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit

Inheritors

(js)

AbstractText

Base class for form field text components.

abstract class AbstractText : SimplePanel, StringFormControl
(js)

RadioGroup

The form field component rendered as a group of HTML input type="radio" elements with the same name attribute.

open class RadioGroup : SimplePanel, StringFormControl
(js)

Select

The form field component for Select control.

open class Select : SimplePanel, StringFormControl
(js)

SelectRemote

The form field component for SelectRemote control.

open class SelectRemote<T : Any> : SimplePanel, StringFormControl
(js)

SimpleSelect

The form field component for SimpleSelect control.

open class SimpleSelect : SimplePanel, StringFormControl