From d8cd67062b8de6e8398dc6dfd00d201200c82414 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 9 Feb 2018 13:40:35 +0100 Subject: API doc and readme --- .../-bool-form-control/index.html | 142 +++++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 docs/api/pl.treksoft.kvision.form/-bool-form-control/index.html (limited to 'docs/api/pl.treksoft.kvision.form/-bool-form-control/index.html') diff --git a/docs/api/pl.treksoft.kvision.form/-bool-form-control/index.html b/docs/api/pl.treksoft.kvision.form/-bool-form-control/index.html new file mode 100644 index 00000000..8e792629 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-bool-form-control/index.html @@ -0,0 +1,142 @@ + + + +BoolFormControl - kvision + + + +kvision / pl.treksoft.kvision.form / BoolFormControl
+
+

BoolFormControl

+interface BoolFormControl : FormControl +

Base interface of a form control with a boolean value.

+

Properties

+ + + + + + + +
+

value

+
+abstract var value: Boolean +

Boolean value.

+
+

Inherited Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

disabled

+
+abstract var disabled: Boolean +

Determines if the field is disabled.

+
+

flabel

+
+abstract val flabel: FieldLabel +

Form field label.

+
+

input

+
+abstract val input: Component +

The actual input component.

+
+

size

+
+abstract var size: INPUTSIZE? +

Input control size.

+
+

validationInfo

+
+abstract val validationInfo: HelpBlock +

Validation info component.

+
+

validatorError

+
+open var validatorError: String? +

Validator error message.

+
+

Functions

+ + + + + + + + + + + + + + + +
+

getValue

+
+open fun getValue(): Boolean +

Returns the value of the control.

+
+

getValueAsString

+
+open fun getValueAsString(): String? +

Returns the value of the control as a String.

+
+

setValue

+
+open fun setValue(v: Any?): Unit +

Sets the value of the control.

+
+

Inheritors

+ + + + + + + + + + + +
+

CheckBox

+
+open class CheckBox : SimplePanel, BoolFormControl +

The form field component rendered as HTML input type="checkbox".

+
+

Radio

+
+open class Radio : SimplePanel, BoolFormControl +

The form field component rendered as HTML input type="radio".

+
+ + -- cgit