From d8cd67062b8de6e8398dc6dfd00d201200c82414 Mon Sep 17 00:00:00 2001
From: Robert Jaros
+
+
+
+ Constructor Overrides FormControl.disabled Determines if the field is disabled. Getter Determines if the field is disabled.
+
+<init>
+
+RadioGroup(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)
+Parameters
+options - an optional list of options (label to value pairs) for the groupinline - determines if the options are rendered inlinelabel - label text of the options grouprich - determines if label can contain HTML code
+
+
+disabled
+
+open var disabled: Boolean
+
+
Setter
+
Determines if the field is disabled.
+ + + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/flabel.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/flabel.html new file mode 100644 index 00000000..de73bfaa --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/flabel.html @@ -0,0 +1,16 @@ + + + +val flabel: FieldLabel
+Overrides FormControl.flabel
+Form field label.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/get-sn-class.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/get-sn-class.html new file mode 100644 index 00000000..45f2e97a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/get-sn-class.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnClass(): List<StringBoolPair>
+Overrides Widget.getSnClass
+Returns list of CSS class names for current widget in the form of a List.
+Return
+list of CSS class names
open class RadioGroup : SimplePanel, StringFormControl
+The form field component rendered as a group of HTML input type="radio" elements with the same name attribute.
+The radio group can be populated directly from options parameter or manually by adding +Radio components to the container.
+| + + | +
+RadioGroup(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false) |
+
| + + | +
+open var disabled: Boolean
+Determines if the field is disabled. + |
+
| + + | +
+val flabel: FieldLabel
+Form field label. + |
+
| + + | +
+var inline: Boolean
+Determines if the options are rendered inline. + |
+
| + + | +
+val input: Widget
+The actual input component. + |
+
| + + | +
+var label: String?
+The label text of the options group. + |
+
| + + | +
+var options: List<StringPair>?
+A list of options (label to value pairs) for the group. + |
+
| + + | +
+var rich: Boolean
+Determines if label can contain HTML code. + |
+
| + + | +
+open var size: INPUTSIZE?
+Input control size. + |
+
| + + | +
+val validationInfo: HelpBlock
+Validation info component. + |
+
| + + | +
+open var value: String?
+A value of the selected option. + |
+
| + + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
| + + | +
+open fun add(child: Component): SimplePanel
+Adds given component to the current container. + |
+
| + + | +
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container. + |
+
| + + | +
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container. + |
+
| + + | +
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes. + |
+
| + + | +
+open fun getChildren(): List<Component>
+Returns a list of children of the current container. + |
+
| + + | +
+open fun getValue(): String?
+Returns the value of the control. + |
+
| + + | +
+open fun getValueAsString(): String?
+Returns the value of the control as a String. + |
+
| + + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
| + + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
| + + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
| + + | +
+open fun setValue(v: Any?): Unit
+Sets the value of the control. + |
+
var inline: Boolean
+Determines if the options are rendered inline.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/input.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/input.html new file mode 100644 index 00000000..f5842e92 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/input.html @@ -0,0 +1,16 @@ + + + +val input: Widget
+Overrides FormControl.input
+The actual input component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/label.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/label.html new file mode 100644 index 00000000..c8409200 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/label.html @@ -0,0 +1,15 @@ + + + +var label: String?
+The label text of the options group.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/options.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/options.html new file mode 100644 index 00000000..3f571c5f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/options.html @@ -0,0 +1,15 @@ + + + +var options: List<StringPair>?
+A list of options (label to value pairs) for the group.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/rich.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/rich.html new file mode 100644 index 00000000..1863196c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/rich.html @@ -0,0 +1,15 @@ + + + +var rich: Boolean
+Determines if label can contain HTML code.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/size.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/size.html new file mode 100644 index 00000000..3706102c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/size.html @@ -0,0 +1,16 @@ + + + +open var size: INPUTSIZE?
+Overrides FormControl.size
+Input control size.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/validation-info.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/validation-info.html new file mode 100644 index 00000000..40d3409b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/validation-info.html @@ -0,0 +1,16 @@ + + + +val validationInfo: HelpBlock
+Overrides FormControl.validationInfo
+Validation info component.
+ + diff --git a/docs/api/pl.treksoft.kvision.form.check/-radio-group/value.html b/docs/api/pl.treksoft.kvision.form.check/-radio-group/value.html new file mode 100644 index 00000000..4d0cd393 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.check/-radio-group/value.html @@ -0,0 +1,19 @@ + + + +open var value: String?
+Overrides StringFormControl.value
+A value of the selected option.
+Setter
+
Text value.
+ + + -- cgit