From 7c2850063697f94a0d8b8d8f8588136dd4b3d05e Mon Sep 17 00:00:00 2001
From: Robert Jaros
-
-
-
-
- Constructor Overrides FormControl.blur Makes the input element blur. Overrides FormControl.disabled Determines if the field is disabled. Overrides FormControl.flabel Form field label. Overrides FormControl.focus Makes the input element focused. Overrides Widget.getSnClass Returns list of CSS class names for current widget in the form of a List. Return 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. Determines if the field is disabled. Form field label. Determines if the options are rendered inline. The actual input component. The label text of the options group. The name attribute of the generated HTML input element. A list of options (label to value pairs) for the group. Determines if label can contain HTML code. Input control field size. Validation info component. A value of the selected option. Makes the input element blur. Makes the input element focused. Returns list of CSS class names for current widget in the form of a List. Adds given component to the current container. Adds a list of components to the current container. Protected and final method to add given component to the current container. Returns the array of the children Snabbdom vnodes. Returns a list of children of the current container. Returns the value of the control. Returns the value of the control as a String. Removes given component from the current container. Removes all children from the current container. Renders current component as a Snabbdom vnode. Sets the value of the control. DSL builder extension function. Determines if the options are rendered inline. Getter Determines if the options are rendered inline.
-
-<init>
-
-RadioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)
-Parameters
-options
- an optional list of options (label to value pairs) for the groupname
- the name attribute of the generated HTML input elementinline
- determines if the options are rendered inlinelabel
- label text of the options grouprich
- determines if label can contain HTML code
-
-
-blur
-
-open fun blur(): Unit
-
-
-disabled
-
-open var disabled: Boolean
-
-
-flabel
-
-val flabel: FieldLabel
-
-
-focus
-
-open fun focus(): Unit
-
-
-getSnClass
-
-protected open fun getSnClass(): List<StringBoolPair>
-
-list of CSS class names
-
-RadioGroup
-open class RadioGroup : SimplePanel, StringFormControl
-Constructors
-
-
-
-
-
-
-
-
-
-
-
-RadioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)
Properties
-
-
-
-
-
-
-
-
-
-
-open var disabled: Boolean
-
-
-
-
-
-
-
-val flabel: FieldLabel
-
-
-
-
-
-
-
-var inline: Boolean
-
-
-
-
-
-
-
-val input: CheckInput
-
-
-
-
-
-
-
-var label: String?
-
-
-
-
-
-
-
-open var name: String?
-
-
-
-
-
-
-
-var options: List<StringPair>?
-
-
-
-
-
-
-
-var rich: Boolean
-
-
-
-
-
-
-
-open var size: InputSize?
-
-
-
-
-
-
-
-val validationInfo: HelpBlock
-
-
-
-
-
-
-
-
-open var value: String?
-Functions
-
-
-
-
-
-
-
-
-
-
-open fun blur(): Unit
-
-
-
-
-
-
-
-open fun focus(): Unit
-
-
-
-
-
-
-
-
-open fun getSnClass(): List<StringBoolPair>
-Inherited Functions
-
-
-
-
-
-
-
-
-
-
-open fun add(child: Component): SimplePanel
-
-
-
-
-
-
-
-open fun addAll(children: List<Component>): SimplePanel
-
-
-
-
-
-
-
-fun addInternal(child: Component): SimplePanel
-
-
-
-
-
-
-
-open fun childrenVNodes(): Array<VNode>
-
-
-
-
-
-
-
-open fun getChildren(): List<Component>
-
-
-
-
-
-
-
-open fun getValue(): String?
-
-
-
-
-
-
-
-open fun getValueAsString(): String?
-
-
-
-
-
-
-
-open fun remove(child: Component): SimplePanel
-
-
-
-
-
-
-
-open fun removeAll(): SimplePanel
-
-
-
-
-
-
-
-open fun render(): VNode
-
-
-
-
-
-
-
-
-open fun setValue(v: Any?): Unit
-Companion Object Functions
-
-
-
-
-
diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/inline.html b/api/pl.treksoft.kvision.form.check/-radio-group/inline.html
deleted file mode 100644
index 47eb8575..00000000
--- a/api/pl.treksoft.kvision.form.check/-radio-group/inline.html
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: RadioGroup.() -> Unit = null): RadioGroup
-
-
-inline
-
-var inline: Boolean
-
-
Setter
-
Determines if the options are rendered inline.
- - - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/input.html b/api/pl.treksoft.kvision.form.check/-radio-group/input.html deleted file mode 100644 index 3b1eccae..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -val input: CheckInput
-Overrides FormControl.input
-The actual input component.
- - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/label.html b/api/pl.treksoft.kvision.form.check/-radio-group/label.html deleted file mode 100644 index c8409200..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/label.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var label: String?
-The label text of the options group.
- - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/name.html b/api/pl.treksoft.kvision.form.check/-radio-group/name.html deleted file mode 100644 index 299928b9..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/name.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -open var name: String?
-Overrides FormControl.name
-The name attribute of the generated HTML input element.
- - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/options.html b/api/pl.treksoft.kvision.form.check/-radio-group/options.html deleted file mode 100644 index f1120584..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/options.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var options: List<StringPair>?
-A list of options (label to value pairs) for the group.
-Getter
-
A list of options (label to value pairs) for the group.
- -Setter
-
A list of options (label to value pairs) for the group.
- - - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/radio-group.html b/api/pl.treksoft.kvision.form.check/-radio-group/radio-group.html deleted file mode 100644 index aa1a0741..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/radio-group.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: RadioGroup.() -> Unit = null): RadioGroup
-DSL builder extension function.
-It takes the same parameters as the constructor of the built component.
- - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/rich.html b/api/pl.treksoft.kvision.form.check/-radio-group/rich.html deleted file mode 100644 index 1863196c..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/rich.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var rich: Boolean
-Determines if label can contain HTML code.
- - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/size.html b/api/pl.treksoft.kvision.form.check/-radio-group/size.html deleted file mode 100644 index 9479e05e..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/size.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -open var size: InputSize?
-Overrides FormControl.size
-Input control field size.
- - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/validation-info.html b/api/pl.treksoft.kvision.form.check/-radio-group/validation-info.html deleted file mode 100644 index 40d3409b..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/validation-info.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -val validationInfo: HelpBlock
-Overrides FormControl.validationInfo
-Validation info component.
- - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/value.html b/api/pl.treksoft.kvision.form.check/-radio-group/value.html deleted file mode 100644 index 534db71a..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/value.html +++ /dev/null @@ -1,22 +0,0 @@ - - - -open var value: String?
-Overrides StringFormControl.value
-A value of the selected option.
-Getter
-
A value of the selected option.
- -Setter
-
A value of the selected option.
- - - -- cgit