From 7c2850063697f94a0d8b8d8f8588136dd4b3d05e Mon Sep 17 00:00:00 2001
From: Robert Jaros
-
-
-
- Constructor Overrides FormControl.blur Makes the input element blur. The additional String value used for the radio button group. 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 HTML input type="radio". The additional String value used for the radio button group. Form field label. Determines if the radio button is rendered inline. The actual input component. The label text bound to the input element. Determines if label can contain HTML code. Determines if the radio button is rendered as a square. The value attribute of the generated HTML input element. The style (one of Bootstrap standard colors) of the input. Validation info component. The selection state of the radio button. 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. A convenient helper for easy setting onClick event handler. Removes all event listeners from current widget. Sets an event listener for current widget, keeping the actual type of component. Sets an event listener for current widget. 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 radio button is rendered inline. Getter Determines if the radio button is rendered inline.
-
-<init>
-
-Radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)
-Parameters
-
-extraValue - the additional String value used for the radio button groupname - the name attribute of the generated HTML input elementlabel - label text bound to the input elementrich - determines if label can contain HTML code
-
-
-blur
-
-open fun blur(): Unit
-
-
-extraValue
-
-var extraValue: String?
-
-
-flabel
-
-val flabel: FieldLabel
-
-
-focus
-
-open fun focus(): Unit
-
-
-getSnClass
-
-protected open fun getSnClass(): List<StringBoolPair>
-
-list of CSS class names
-
-Radio
-open class Radio : SimplePanel, BoolFormControl
-Constructors
-
-
-
-
-
-
-
-
-
-
-
-Radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)Properties
-
-
-
-
-
-
-
-
-
-
-var extraValue: String?
-
-
-
-
-
-
-
-val flabel: FieldLabel
-
-
-
-
-
-
-
-var inline: Boolean
-
-
-
-
-
-
-
-val input: CheckInput
-
-
-
-
-
-
-
-var label: String?
-
-
-
-
-
-
-
-var rich: Boolean
-
-
-
-
-
-
-
-var squared: Boolean
-
-
-
-
-
-
-
-var startValue: Boolean
-
-
-
-
-
-
-
-var style: RadioStyle?
-
-
-
-
-
-
-
-val validationInfo: HelpBlock
-
-
-
-
-
-
-
-
-open var value: Boolean
-Functions
-
-
-
-
-
-
-
-
-
-
-open fun blur(): Unit
-
-
-
-
-
-
-
-open fun focus(): Unit
-
-
-
-
-
-
-
-open fun getSnClass(): List<StringBoolPair>
-
-
-
-
-
-
-
-open fun onClick(handler: Radio.(MouseEvent) -> Unit): Radio
-
-
-
-
-
-
-
-open fun removeEventListeners(): Widget
-
-
-
-
-
-
-
-
-open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
-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(): Boolean
-
-
-
-
-
-
-
-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/inline.html b/api/pl.treksoft.kvision.form.check/-radio/inline.html
deleted file mode 100644
index 2af48163..00000000
--- a/api/pl.treksoft.kvision.form.check/-radio/inline.html
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: Radio.() -> Unit = null): Radio
-
-
-inline
-
-var inline: Boolean
-
-
Setter
-
Determines if the radio button is rendered inline.
- - - diff --git a/api/pl.treksoft.kvision.form.check/-radio/input.html b/api/pl.treksoft.kvision.form.check/-radio/input.html deleted file mode 100644 index d7c2a1d9..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/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/label.html b/api/pl.treksoft.kvision.form.check/-radio/label.html deleted file mode 100644 index b80dd44f..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/label.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var label: String?
-The label text bound to the input element.
- - diff --git a/api/pl.treksoft.kvision.form.check/-radio/on-click.html b/api/pl.treksoft.kvision.form.check/-radio/on-click.html deleted file mode 100644 index 7ea9c764..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/on-click.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -open fun onClick(handler: Radio.(MouseEvent) -> Unit): Radio
-A convenient helper for easy setting onClick event handler.
- - diff --git a/api/pl.treksoft.kvision.form.check/-radio/radio.html b/api/pl.treksoft.kvision.form.check/-radio/radio.html deleted file mode 100644 index 5f842c88..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/radio.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: Radio.() -> Unit = null): Radio
-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/remove-event-listeners.html b/api/pl.treksoft.kvision.form.check/-radio/remove-event-listeners.html deleted file mode 100644 index 793b6635..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/remove-event-listeners.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -open fun removeEventListeners(): Widget
-Overrides Widget.removeEventListeners
-Removes all event listeners from current widget.
-Return
-current widget
var rich: Boolean
-Determines if label can contain HTML code.
- - diff --git a/api/pl.treksoft.kvision.form.check/-radio/set-event-listener.html b/api/pl.treksoft.kvision.form.check/-radio/set-event-listener.html deleted file mode 100644 index db72a974..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/set-event-listener.html +++ /dev/null @@ -1,54 +0,0 @@ - - - -open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
-Overrides Widget.setEventListener
-Sets an event listener for current widget, keeping the actual type of component.
-Return
-
current widget
- - -Example:
- - - button.setEventListener<Button> {
- dblclick = {
- Alert.show("Button double clicked!")
- // self is of type Button here
- }
- }
-
-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
-Overrides Widget.setEventListener
-Sets an event listener for current widget.
-Return
-
current widget
- - -Example:
- - - button.setEventListener {
- dblclick = {
- Alert.show("Button double clicked!")
- // self is of type Widget here
- }
- }
-
-
diff --git a/api/pl.treksoft.kvision.form.check/-radio/squared.html b/api/pl.treksoft.kvision.form.check/-radio/squared.html
deleted file mode 100644
index 108305be..00000000
--- a/api/pl.treksoft.kvision.form.check/-radio/squared.html
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-var squared: Boolean
-Determines if the radio button is rendered as a square.
-Getter
-
Determines if the radio button is rendered as a square.
- -Setter
-
Determines if the radio button is rendered as a square.
- - - diff --git a/api/pl.treksoft.kvision.form.check/-radio/start-value.html b/api/pl.treksoft.kvision.form.check/-radio/start-value.html deleted file mode 100644 index d9e8e9a6..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/start-value.html +++ /dev/null @@ -1,17 +0,0 @@ - - - -var startValue: Boolean
-The value attribute of the generated HTML input element.
-This value is placed directly in generated HTML code, while the value property is dynamically -bound to the input selection state.
- - diff --git a/api/pl.treksoft.kvision.form.check/-radio/style.html b/api/pl.treksoft.kvision.form.check/-radio/style.html deleted file mode 100644 index d5063f77..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/style.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var style: RadioStyle?
-The style (one of Bootstrap standard colors) of the input.
-Getter
-
The style (one of Bootstrap standard colors) of the input.
- -Setter
-
The style (one of Bootstrap standard colors) of the input.
- - - diff --git a/api/pl.treksoft.kvision.form.check/-radio/validation-info.html b/api/pl.treksoft.kvision.form.check/-radio/validation-info.html deleted file mode 100644 index 6464d415..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/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/value.html b/api/pl.treksoft.kvision.form.check/-radio/value.html deleted file mode 100644 index 026e80e9..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/value.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -open var value: Boolean
-Overrides BoolFormControl.value
-The selection state of the radio button.
- - -- cgit