From f23e74c2eb0cae2f6ce674881e86ab5d5659ad77 Mon Sep 17 00:00:00 2001
From: Robert Jaros
+
+
+ Constructor Overrides FormInput.disabled Determines if the field is disabled. Overrides Widget.getSnClass Returns list of CSS class names for current widget in the form of a List. Return The input 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. Determines if the options are rendered inline. The name attribute of the generated HTML input element. A list of options (label to value pairs) for the group. Input control field size. A value of the selected option. 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. Removes given component from the current container. Removes all children from the current container. Renders current component as a Snabbdom vnode. DSL builder extension function. Determines if the options are rendered inline. Getter Determines if the options are rendered inline.
+
+<init>
+
+RadioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: 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 inline
+
+
+blur
+
+fun blur(): Unit
+
+
diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/disabled.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/disabled.html
new file mode 100644
index 00000000..d84a2325
--- /dev/null
+++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/disabled.html
@@ -0,0 +1,16 @@
+
+
+
+
+
+disabled
+
+open var disabled: Boolean
+
+
+focus
+
+fun focus(): Unit
+
+
diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/get-sn-class.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/get-sn-class.html
new file mode 100644
index 00000000..c2922ecd
--- /dev/null
+++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/get-sn-class.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+getSnClass
+
+protected open fun getSnClass(): List<StringBoolPair>
+
+list of CSS class names
+
+RadioGroupInput
+open class RadioGroupInput : SimplePanel, FormInput
+Constructors
+
+
+
+
+
+
+
+
+
+
+
+RadioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false)Properties
+
+
+
+
+
+
+
+
+
+
+open var disabled: Boolean
+
+
+
+
+
+
+
+var inline: Boolean
+
+
+
+
+
+
+
+open var name: String?
+
+
+
+
+
+
+
+var options: List<StringPair>?
+
+
+
+
+
+
+
+open var size: InputSize?
+
+
+
+
+
+
+
+
+var value: String?
+Functions
+
+
+
+
+
+
+
+
+
+
+fun blur(): Unit
+
+
+
+
+
+
+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 remove(child: Component): SimplePanel
+
+
+
+
+
+
+
+open fun removeAll(): SimplePanel
+
+
+
+
+
+
+
+
+open fun render(): VNode
+Companion Object Functions
+
+
+
+
+
diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/inline.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/inline.html
new file mode 100644
index 00000000..56b90f63
--- /dev/null
+++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/inline.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: RadioGroupInput.() -> Unit = null): RadioGroupInput
+
+
+inline
+
+var inline: Boolean
+
+
Setter
+
Determines if the options are rendered inline.
+ + + diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/name.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/name.html new file mode 100644 index 00000000..eebd6161 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/name.html @@ -0,0 +1,16 @@ + + + +open var name: String?
+Overrides FormInput.name
+The name attribute of the generated HTML input element.
+ + diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/options.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/options.html new file mode 100644 index 00000000..e2234e8c --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/options.html @@ -0,0 +1,21 @@ + + + +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-input/radio-group-input.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/radio-group-input.html new file mode 100644 index 00000000..4d9c367f --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/radio-group-input.html @@ -0,0 +1,16 @@ + + + +fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: RadioGroupInput.() -> Unit = null): RadioGroupInput
+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-input/size.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/size.html new file mode 100644 index 00000000..740e8ff0 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/size.html @@ -0,0 +1,16 @@ + + + +open var size: InputSize?
+Overrides FormInput.size
+Input control field size.
+ + diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/value.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/value.html new file mode 100644 index 00000000..b5622ae7 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/value.html @@ -0,0 +1,21 @@ + + + +var value: String?
+A value of the selected option.
+Getter
+
A value of the selected option.
+ +Setter
+
A value of the selected option.
+ + + -- cgit