From 7c2850063697f94a0d8b8d8f8588136dd4b3d05e Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 21 Oct 2018 23:59:34 +0200 Subject: API documentation for KVision 0.0.19 --- .../-check-box-style/-d-a-n-g-e-r.html | 14 - .../-check-box-style/-d-e-f-a-u-l-t.html | 14 - .../-check-box-style/-i-n-f-o.html | 14 - .../-check-box-style/-p-r-i-m-a-r-y.html | 14 - .../-check-box-style/-s-u-c-c-e-s-s.html | 14 - .../-check-box-style/-w-a-r-n-i-n-g.html | 14 - .../-check-box-style/index.html | 61 --- .../-check-box/-init-.html | 25 -- .../-check-box/blur.html | 16 - .../-check-box/check-box.html | 16 - .../-check-box/circled.html | 21 - .../-check-box/flabel.html | 16 - .../-check-box/focus.html | 16 - .../-check-box/get-sn-class.html | 18 - .../-check-box/index.html | 300 ------------- .../-check-box/inline.html | 21 - .../-check-box/input.html | 16 - .../-check-box/label.html | 15 - .../-check-box/on-click.html | 15 - .../-check-box/remove-event-listeners.html | 18 - .../-check-box/rich.html | 15 - .../-check-box/set-event-listener.html | 54 --- .../-check-box/start-value.html | 17 - .../-check-box/style.html | 21 - .../-check-box/validation-info.html | 16 - .../-check-box/value.html | 16 - .../-check-input-type/-c-h-e-c-k-b-o-x.html | 14 - .../-check-input-type/-r-a-d-i-o.html | 14 - .../-check-input-type/index.html | 33 -- .../-check-input/-init-.html | 23 - .../-check-input/after-insert.html | 16 - .../-check-input/after-postpatch.html | 16 - .../-check-input/blur.html | 15 - .../-check-input/check-input.html | 16 - .../-check-input/disabled.html | 22 - .../-check-input/extra-value.html | 21 - .../-check-input/focus.html | 15 - .../-check-input/get-sn-attrs.html | 18 - .../-check-input/get-sn-class.html | 18 - .../-check-input/index.html | 486 --------------------- .../-check-input/name.html | 22 - .../-check-input/on-click.html | 15 - .../-check-input/render.html | 18 - .../-check-input/size.html | 22 - .../-check-input/start-value.html | 27 -- .../-check-input/type.html | 21 - .../-check-input/value.html | 21 - .../-radio-group/-init-.html | 29 -- .../-radio-group/blur.html | 16 - .../-radio-group/disabled.html | 16 - .../-radio-group/flabel.html | 16 - .../-radio-group/focus.html | 16 - .../-radio-group/get-sn-class.html | 18 - .../-radio-group/index.html | 282 ------------ .../-radio-group/inline.html | 21 - .../-radio-group/input.html | 16 - .../-radio-group/label.html | 15 - .../-radio-group/name.html | 16 - .../-radio-group/options.html | 21 - .../-radio-group/radio-group.html | 16 - .../-radio-group/rich.html | 15 - .../-radio-group/size.html | 16 - .../-radio-group/validation-info.html | 16 - .../-radio-group/value.html | 22 - .../-radio-style/-d-a-n-g-e-r.html | 14 - .../-radio-style/-d-e-f-a-u-l-t.html | 14 - .../-radio-style/-i-n-f-o.html | 14 - .../-radio-style/-p-r-i-m-a-r-y.html | 14 - .../-radio-style/-s-u-c-c-e-s-s.html | 14 - .../-radio-style/-w-a-r-n-i-n-g.html | 14 - .../-radio-style/index.html | 61 --- .../-radio/-init-.html | 27 -- .../-radio/blur.html | 16 - .../-radio/extra-value.html | 15 - .../-radio/flabel.html | 16 - .../-radio/focus.html | 16 - .../-radio/get-sn-class.html | 18 - .../-radio/index.html | 309 ------------- .../-radio/inline.html | 21 - .../-radio/input.html | 16 - .../-radio/label.html | 15 - .../-radio/on-click.html | 15 - .../-radio/radio.html | 16 - .../-radio/remove-event-listeners.html | 18 - .../-radio/rich.html | 15 - .../-radio/set-event-listener.html | 54 --- .../-radio/squared.html | 21 - .../-radio/start-value.html | 17 - .../-radio/style.html | 21 - .../-radio/validation-info.html | 16 - .../-radio/value.html | 16 - api/pl.treksoft.kvision.form.check/index.html | 81 ---- 92 files changed, 3141 deletions(-) delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box-style/-d-a-n-g-e-r.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box-style/-d-e-f-a-u-l-t.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box-style/-i-n-f-o.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box-style/-p-r-i-m-a-r-y.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box-style/-s-u-c-c-e-s-s.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box-style/-w-a-r-n-i-n-g.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box-style/index.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/-init-.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/blur.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/check-box.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/circled.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/flabel.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/focus.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/get-sn-class.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/index.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/inline.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/input.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/label.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/on-click.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/remove-event-listeners.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/rich.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/set-event-listener.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/start-value.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/style.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/validation-info.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-box/value.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input-type/-c-h-e-c-k-b-o-x.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input-type/-r-a-d-i-o.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input-type/index.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/-init-.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/after-insert.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/after-postpatch.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/blur.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/check-input.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/disabled.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/extra-value.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/focus.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/get-sn-attrs.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/get-sn-class.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/index.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/name.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/on-click.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/render.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/size.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/start-value.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/type.html delete mode 100644 api/pl.treksoft.kvision.form.check/-check-input/value.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/-init-.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/blur.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/disabled.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/flabel.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/focus.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/get-sn-class.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/index.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/inline.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/input.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/label.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/name.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/options.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/radio-group.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/rich.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/size.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/validation-info.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/value.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-style/-d-a-n-g-e-r.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-style/-d-e-f-a-u-l-t.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-style/-i-n-f-o.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-style/-p-r-i-m-a-r-y.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-style/-s-u-c-c-e-s-s.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-style/-w-a-r-n-i-n-g.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio-style/index.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/-init-.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/blur.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/extra-value.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/flabel.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/focus.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/get-sn-class.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/index.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/inline.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/input.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/label.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/on-click.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/radio.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/remove-event-listeners.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/rich.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/set-event-listener.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/squared.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/start-value.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/style.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/validation-info.html delete mode 100644 api/pl.treksoft.kvision.form.check/-radio/value.html delete mode 100644 api/pl.treksoft.kvision.form.check/index.html (limited to 'api/pl.treksoft.kvision.form.check') diff --git a/api/pl.treksoft.kvision.form.check/-check-box-style/-d-a-n-g-e-r.html b/api/pl.treksoft.kvision.form.check/-check-box-style/-d-a-n-g-e-r.html deleted file mode 100644 index fcb5259b..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box-style/-d-a-n-g-e-r.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -CheckBoxStyle.DANGER - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBoxStyle / DANGER
-
-

DANGER

- -DANGER - - diff --git a/api/pl.treksoft.kvision.form.check/-check-box-style/-d-e-f-a-u-l-t.html b/api/pl.treksoft.kvision.form.check/-check-box-style/-d-e-f-a-u-l-t.html deleted file mode 100644 index ac33f0ed..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box-style/-d-e-f-a-u-l-t.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -CheckBoxStyle.DEFAULT - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBoxStyle / DEFAULT
-
-

DEFAULT

- -DEFAULT - - diff --git a/api/pl.treksoft.kvision.form.check/-check-box-style/-i-n-f-o.html b/api/pl.treksoft.kvision.form.check/-check-box-style/-i-n-f-o.html deleted file mode 100644 index 2dd8f53b..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box-style/-i-n-f-o.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -CheckBoxStyle.INFO - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBoxStyle / INFO
-
-

INFO

- -INFO - - diff --git a/api/pl.treksoft.kvision.form.check/-check-box-style/-p-r-i-m-a-r-y.html b/api/pl.treksoft.kvision.form.check/-check-box-style/-p-r-i-m-a-r-y.html deleted file mode 100644 index e9e0b996..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box-style/-p-r-i-m-a-r-y.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -CheckBoxStyle.PRIMARY - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBoxStyle / PRIMARY
-
-

PRIMARY

- -PRIMARY - - diff --git a/api/pl.treksoft.kvision.form.check/-check-box-style/-s-u-c-c-e-s-s.html b/api/pl.treksoft.kvision.form.check/-check-box-style/-s-u-c-c-e-s-s.html deleted file mode 100644 index 83dbd75a..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box-style/-s-u-c-c-e-s-s.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -CheckBoxStyle.SUCCESS - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBoxStyle / SUCCESS
-
-

SUCCESS

- -SUCCESS - - diff --git a/api/pl.treksoft.kvision.form.check/-check-box-style/-w-a-r-n-i-n-g.html b/api/pl.treksoft.kvision.form.check/-check-box-style/-w-a-r-n-i-n-g.html deleted file mode 100644 index 2fbfc7b2..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box-style/-w-a-r-n-i-n-g.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -CheckBoxStyle.WARNING - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBoxStyle / WARNING
-
-

WARNING

- -WARNING - - diff --git a/api/pl.treksoft.kvision.form.check/-check-box-style/index.html b/api/pl.treksoft.kvision.form.check/-check-box-style/index.html deleted file mode 100644 index 6a433927..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box-style/index.html +++ /dev/null @@ -1,61 +0,0 @@ - - - -CheckBoxStyle - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBoxStyle
-
-

CheckBoxStyle

-enum class CheckBoxStyle -

Checkbox style options.

-

Enum Values

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

DEFAULT

-
-
-

PRIMARY

-
-
-

SUCCESS

-
-
-

INFO

-
-
-

WARNING

-
-
-

DANGER

-
-
- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/-init-.html b/api/pl.treksoft.kvision.form.check/-check-box/-init-.html deleted file mode 100644 index 069d4b71..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/-init-.html +++ /dev/null @@ -1,25 +0,0 @@ - - - -CheckBox.<init> - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / <init>
-
-

<init>

- -CheckBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false) -

Parameters

-

-value - selection state

-

-name - the name of the input element

-

-label - label text bound to the input element

-

-rich - determines if label can contain HTML code

-

Constructor
-

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/blur.html b/api/pl.treksoft.kvision.form.check/-check-box/blur.html deleted file mode 100644 index ac7ab781..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/blur.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -CheckBox.blur - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / blur
-
-

blur

- -open fun blur(): Unit -

Overrides FormControl.blur

-

Makes the input element blur.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/check-box.html b/api/pl.treksoft.kvision.form.check/-check-box/check-box.html deleted file mode 100644 index 31c07058..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/check-box.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -CheckBox.checkBox - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / checkBox
-
-

checkBox

- -fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: CheckBox.() -> Unit = null): CheckBox -

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/-check-box/circled.html b/api/pl.treksoft.kvision.form.check/-check-box/circled.html deleted file mode 100644 index a62c5c71..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/circled.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -CheckBox.circled - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / circled
-
-

circled

- -var circled: Boolean -

Determines if the checkbox is rendered as a circle.

-

Getter
-

Determines if the checkbox is rendered as a circle.

-

-

Setter
-

Determines if the checkbox is rendered as a circle.

-

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/flabel.html b/api/pl.treksoft.kvision.form.check/-check-box/flabel.html deleted file mode 100644 index 75f0444f..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/flabel.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -CheckBox.flabel - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / flabel
-
-

flabel

- -val flabel: FieldLabel -

Overrides FormControl.flabel

-

Form field label.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/focus.html b/api/pl.treksoft.kvision.form.check/-check-box/focus.html deleted file mode 100644 index 13d5d003..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/focus.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -CheckBox.focus - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / focus
-
-

focus

- -open fun focus(): Unit -

Overrides FormControl.focus

-

Makes the input element focused.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/get-sn-class.html b/api/pl.treksoft.kvision.form.check/-check-box/get-sn-class.html deleted file mode 100644 index 096322d7..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/get-sn-class.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -CheckBox.getSnClass - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / getSnClass
-
-

getSnClass

- -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

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/index.html b/api/pl.treksoft.kvision.form.check/-check-box/index.html deleted file mode 100644 index dbcc8daa..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/index.html +++ /dev/null @@ -1,300 +0,0 @@ - - - -CheckBox - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox
-
-

CheckBox

-open class CheckBox : SimplePanel, BoolFormControl -

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

-

Constructors

- - - - - - - -
-

<init>

-
-CheckBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false)
-

Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

circled

-
-var circled: Boolean -

Determines if the checkbox is rendered as a circle.

-
-

flabel

-
-val flabel: FieldLabel -

Form field label.

-
-

inline

-
-var inline: Boolean -

Determines if the checkbox is rendered inline.

-
-

input

-
-val input: CheckInput -

The actual input component.

-
-

label

-
-var label: String? -

The label text bound to the input element.

-
-

rich

-
-var rich: Boolean -

Determines if label can contain HTML code.

-
-

startValue

-
-var startValue: Boolean -

The value attribute of the generated HTML input element.

-
-

style

-
-var style: CheckBoxStyle? -

The style (one of Bootstrap standard colors) of the input.

-
-

validationInfo

-
-val validationInfo: HelpBlock -

Validation info component.

-
-

value

-
-open var value: Boolean -

The selection state of the checkbox.

-
-

Functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

blur

-
-open fun blur(): Unit -

Makes the input element blur.

-
-

focus

-
-open fun focus(): Unit -

Makes the input element focused.

-
-

getSnClass

-
-open fun getSnClass(): List<StringBoolPair> -

Returns list of CSS class names for current widget in the form of a List.

-
-

onClick

-
-open fun onClick(handler: CheckBox.(MouseEvent) -> Unit): CheckBox -

A convenient helper for easy setting onClick event handler.

-
-

removeEventListeners

-
-open fun removeEventListeners(): Widget -

Removes all event listeners from current widget.

-
-

setEventListener

-
-open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget -

Sets an event listener for current widget, keeping the actual type of component.

-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget -

Sets an event listener for current widget.

-
-

Inherited Functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

add

-
-open fun add(child: Component): SimplePanel -

Adds given component to the current container.

-
-

addAll

-
-open fun addAll(children: List<Component>): SimplePanel -

Adds a list of components to the current container.

-
-

addInternal

-
-fun addInternal(child: Component): SimplePanel -

Protected and final method to add given component to the current container.

-
-

childrenVNodes

-
-open fun childrenVNodes(): Array<VNode> -

Returns the array of the children Snabbdom vnodes.

-
-

getChildren

-
-open fun getChildren(): List<Component> -

Returns a list of children of the current container.

-
-

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.

-
-

remove

-
-open fun remove(child: Component): SimplePanel -

Removes given component from the current container.

-
-

removeAll

-
-open fun removeAll(): SimplePanel -

Removes all children from the current container.

-
-

render

-
-open fun render(): VNode -

Renders current component as a Snabbdom vnode.

-
-

setValue

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

Sets the value of the control.

-
-

Companion Object Functions

- - - - - - - -
-

checkBox

-
-fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: CheckBox.() -> Unit = null): CheckBox -

DSL builder extension function.

-
- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/inline.html b/api/pl.treksoft.kvision.form.check/-check-box/inline.html deleted file mode 100644 index d47e2591..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/inline.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -CheckBox.inline - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / inline
-
-

inline

- -var inline: Boolean -

Determines if the checkbox is rendered inline.

-

Getter
-

Determines if the checkbox is rendered inline.

-

-

Setter
-

Determines if the checkbox is rendered inline.

-

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/input.html b/api/pl.treksoft.kvision.form.check/-check-box/input.html deleted file mode 100644 index 95850692..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -CheckBox.input - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / input
-
-

input

- -val input: CheckInput -

Overrides FormControl.input

-

The actual input component.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/label.html b/api/pl.treksoft.kvision.form.check/-check-box/label.html deleted file mode 100644 index 7cda3b63..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/label.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -CheckBox.label - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / label
-
-

label

- -var label: String? -

The label text bound to the input element.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/on-click.html b/api/pl.treksoft.kvision.form.check/-check-box/on-click.html deleted file mode 100644 index 21a05b0a..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/on-click.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -CheckBox.onClick - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / onClick
-
-

onClick

- -open fun onClick(handler: CheckBox.(MouseEvent) -> Unit): CheckBox -

A convenient helper for easy setting onClick event handler.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/remove-event-listeners.html b/api/pl.treksoft.kvision.form.check/-check-box/remove-event-listeners.html deleted file mode 100644 index de175e54..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/remove-event-listeners.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -CheckBox.removeEventListeners - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / removeEventListeners
-
-

removeEventListeners

- -open fun removeEventListeners(): Widget -

Overrides Widget.removeEventListeners

-

Removes all event listeners from current widget.

-

Return
-current widget

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/rich.html b/api/pl.treksoft.kvision.form.check/-check-box/rich.html deleted file mode 100644 index e048f0d1..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/rich.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -CheckBox.rich - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / rich
-
-

rich

- -var rich: Boolean -

Determines if label can contain HTML code.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/set-event-listener.html b/api/pl.treksoft.kvision.form.check/-check-box/set-event-listener.html deleted file mode 100644 index a47d91c9..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/set-event-listener.html +++ /dev/null @@ -1,54 +0,0 @@ - - - -CheckBox.setEventListener - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / setEventListener
-
-

setEventListener

- -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.

-

Parameters

-

-T - widget type

-

-block - event handler

-

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.

-

Parameters

-

-block - event handler

-

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/-check-box/start-value.html b/api/pl.treksoft.kvision.form.check/-check-box/start-value.html deleted file mode 100644 index 8b375beb..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/start-value.html +++ /dev/null @@ -1,17 +0,0 @@ - - - -CheckBox.startValue - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / startValue
-
-

startValue

- -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/-check-box/style.html b/api/pl.treksoft.kvision.form.check/-check-box/style.html deleted file mode 100644 index aac0735f..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/style.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -CheckBox.style - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / style
-
-

style

- -var style: CheckBoxStyle? -

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/-check-box/validation-info.html b/api/pl.treksoft.kvision.form.check/-check-box/validation-info.html deleted file mode 100644 index 881e33ea..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/validation-info.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -CheckBox.validationInfo - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / validationInfo
-
-

validationInfo

- -val validationInfo: HelpBlock -

Overrides FormControl.validationInfo

-

Validation info component.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-box/value.html b/api/pl.treksoft.kvision.form.check/-check-box/value.html deleted file mode 100644 index 79ac64e8..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-box/value.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -CheckBox.value - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckBox / value
-
-

value

- -open var value: Boolean -

Overrides BoolFormControl.value

-

The selection state of the checkbox.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input-type/-c-h-e-c-k-b-o-x.html b/api/pl.treksoft.kvision.form.check/-check-input-type/-c-h-e-c-k-b-o-x.html deleted file mode 100644 index 2d0d3981..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input-type/-c-h-e-c-k-b-o-x.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -CheckInputType.CHECKBOX - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInputType / CHECKBOX
-
-

CHECKBOX

- -CHECKBOX - - diff --git a/api/pl.treksoft.kvision.form.check/-check-input-type/-r-a-d-i-o.html b/api/pl.treksoft.kvision.form.check/-check-input-type/-r-a-d-i-o.html deleted file mode 100644 index a34a9ac0..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input-type/-r-a-d-i-o.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -CheckInputType.RADIO - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInputType / RADIO
-
-

RADIO

- -RADIO - - diff --git a/api/pl.treksoft.kvision.form.check/-check-input-type/index.html b/api/pl.treksoft.kvision.form.check/-check-input-type/index.html deleted file mode 100644 index 203af067..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input-type/index.html +++ /dev/null @@ -1,33 +0,0 @@ - - - -CheckInputType - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInputType
-
-

CheckInputType

-enum class CheckInputType -

Type of the check input control (checkbox or radio).

-

Enum Values

- - - - - - - - - - - -
-

CHECKBOX

-
-
-

RADIO

-
-
- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/-init-.html b/api/pl.treksoft.kvision.form.check/-check-input/-init-.html deleted file mode 100644 index 79f981fb..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/-init-.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -CheckInput.<init> - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / <init>
-
-

<init>

- -CheckInput(type: CheckInputType = CheckInputType.CHECKBOX, value: Boolean = false, classes: Set<String> = setOf()) -

Parameters

-

-type - type of the input control

-

-value - selection state

-

-classes - a set of CSS class names

-

Constructor
-

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/after-insert.html b/api/pl.treksoft.kvision.form.check/-check-input/after-insert.html deleted file mode 100644 index 6767622a..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/after-insert.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -CheckInput.afterInsert - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / afterInsert
-
-

afterInsert

- -protected open fun afterInsert(node: VNode): Unit -

Overrides Widget.afterInsert

-

Method called after inserting Snabbdom vnode into the DOM.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/after-postpatch.html b/api/pl.treksoft.kvision.form.check/-check-input/after-postpatch.html deleted file mode 100644 index e5033ca8..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/after-postpatch.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -CheckInput.afterPostpatch - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / afterPostpatch
-
-

afterPostpatch

- -protected open fun afterPostpatch(node: VNode): Unit -

Overrides Widget.afterPostpatch

-

Method called after updating Snabbdom vnode.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/blur.html b/api/pl.treksoft.kvision.form.check/-check-input/blur.html deleted file mode 100644 index 34571d73..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/blur.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -CheckInput.blur - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / blur
-
-

blur

- -open fun blur(): Unit -

Makes the input element blur.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/check-input.html b/api/pl.treksoft.kvision.form.check/-check-input/check-input.html deleted file mode 100644 index 9ac1b396..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/check-input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -CheckInput.checkInput - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / checkInput
-
-

checkInput

- -fun Container.checkInput(type: CheckInputType = CheckInputType.CHECKBOX, value: Boolean = false, classes: Set<String> = setOf(), init: CheckInput.() -> Unit = null): CheckInput -

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/-check-input/disabled.html b/api/pl.treksoft.kvision.form.check/-check-input/disabled.html deleted file mode 100644 index e39d705e..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/disabled.html +++ /dev/null @@ -1,22 +0,0 @@ - - - -CheckInput.disabled - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / disabled
-
-

disabled

- -open var disabled: Boolean -

Overrides FormInput.disabled

-

Determines if the field is disabled.

-

Getter
-

Determines if the field is disabled.

-

-

Setter
-

Determines if the field is disabled.

-

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/extra-value.html b/api/pl.treksoft.kvision.form.check/-check-input/extra-value.html deleted file mode 100644 index 07e80196..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/extra-value.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -CheckInput.extraValue - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / extraValue
-
-

extraValue

- -var extraValue: String? -

The additional String value used for the radio button group.

-

Getter
-

The additional String value used for the radio button group.

-

-

Setter
-

The additional String value used for the radio button group.

-

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/focus.html b/api/pl.treksoft.kvision.form.check/-check-input/focus.html deleted file mode 100644 index 8598d046..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/focus.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -CheckInput.focus - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / focus
-
-

focus

- -open fun focus(): Unit -

Makes the input element focused.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/get-sn-attrs.html b/api/pl.treksoft.kvision.form.check/-check-input/get-sn-attrs.html deleted file mode 100644 index 01b63bf4..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/get-sn-attrs.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -CheckInput.getSnAttrs - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / getSnAttrs
-
-

getSnAttrs

- -protected open fun getSnAttrs(): List<StringPair> -

Overrides Widget.getSnAttrs

-

Returns list of element attributes in the form of a List.

-

Return
-list of element attributes

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/get-sn-class.html b/api/pl.treksoft.kvision.form.check/-check-input/get-sn-class.html deleted file mode 100644 index ad4a5a60..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/get-sn-class.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -CheckInput.getSnClass - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / getSnClass
-
-

getSnClass

- -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

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/index.html b/api/pl.treksoft.kvision.form.check/-check-input/index.html deleted file mode 100644 index be8a7947..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/index.html +++ /dev/null @@ -1,486 +0,0 @@ - - - -CheckInput - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput
-
-

CheckInput

-open class CheckInput : Widget, FormInput -

The basic input component rendered as HTML input type="checkbox" or input type="radio".

-

Constructors

- - - - - - - -
-

<init>

-
-CheckInput(type: CheckInputType = CheckInputType.CHECKBOX, value: Boolean = false, classes: Set<String> = setOf())
-

Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

disabled

-
-open var disabled: Boolean -

Determines if the field is disabled.

-
-

extraValue

-
-var extraValue: String? -

The additional String value used for the radio button group.

-
-

name

-
-open var name: String? -

The name attribute of the generated HTML input element.

-
-

size

-
-open var size: InputSize? -

The size of the input.

-
-

startValue

-
-var startValue: Boolean -

The value attribute of the generated HTML input element.

-
-

type

-
-var type: CheckInputType -

The type of the generated HTML input element.

-
-

value

-
-var value: Boolean -

The selection state of the input.

-
-

Inherited Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

draggable

-
-var draggable: Boolean? -

Determines if the current widget is draggable.

-
-

eventTarget

-
-var eventTarget: Widget?
-

id

-
-var id: String? -

An ID attribute of generated HTML element.

-
-

lastLanguage

-
-var lastLanguage: String?
-

parent

-
-open var parent: Container? -

Parent of the current component.

-
-

role

-
-var role: String? -

A role attribute of generated HTML element.

-
-

surroundingSpan

-
-var surroundingSpan: Boolean
-

title

-
-var title: String? -

A title attribute of generated HTML element.

-
-

visible

-
-open var visible: Boolean -

Visibility state of the current component.

-
-

Functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

afterInsert

-
-open fun afterInsert(node: VNode): Unit -

Method called after inserting Snabbdom vnode into the DOM.

-
-

afterPostpatch

-
-open fun afterPostpatch(node: VNode): Unit -

Method called after updating Snabbdom vnode.

-
-

blur

-
-open fun blur(): Unit -

Makes the input element blur.

-
-

focus

-
-open fun focus(): Unit -

Makes the input element focused.

-
-

getSnAttrs

-
-open fun getSnAttrs(): List<StringPair> -

Returns list of element attributes in the form of a List.

-
-

getSnClass

-
-open fun getSnClass(): List<StringBoolPair> -

Returns list of CSS class names for current widget in the form of a List.

-
-

onClick

-
-open fun onClick(handler: CheckInput.(MouseEvent) -> Unit): CheckInput -

A convenient helper for easy setting onClick event handler.

-
-

render

-
-open fun render(): VNode -

Renders current component as a Snabbdom vnode.

-
-

Inherited Functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

addCssClass

-
-open fun addCssClass(css: String): Widget -

Adds given value to the set of CSS classes generated in html code of current component.

-
-

addSurroundingCssClass

-
-open fun addSurroundingCssClass(css: String): Widget -

Adds given value to the set of CSS classes generated in html code of parent component.

-
-

afterCreate

-
-open fun afterCreate(node: VNode): Unit -

Method called after creating Snabbdom vnode.

-
-

afterDestroy

-
-open fun afterDestroy(): Unit -

Method called after destroying Snabbdom vnode.

-
-

clearDragDropData

-
-open fun clearDragDropData(): Unit -

Clears D&D data for the current widget. It also makes it not draggable.

-
-

dispatchEvent

-
-open fun dispatchEvent(type: String, eventInitDict: CustomEventInit): Boolean?
-

getElement

-
-open fun getElement(): Node? -

Returns DOM element bound to the current component.

-
-

getElementJQuery

-
-open fun getElementJQuery(): JQuery? -

Returns JQuery element bound to the current component.

-
-

getElementJQueryD

-
-open fun getElementJQueryD(): dynamic -

Returns JQuery element bound to the current component as a dynamic type.

-
-

getSnHooks

-
-open fun getSnHooks(): Hooks? -

Returns list of hooks in the form of a Snabbdom Hooks object.

-
-

getSnOn

-
-open fun getSnOn(): On? -

Returns list of event handlers in the form of a Snabbdom On object.

-
-

hide

-
-open fun hide(): Widget -

Makes current widget invisible.

-
-

removeCssClass

-
-open fun removeCssClass(css: String): Widget -

Removes given value from the set of CSS classes generated in html code of current component.

-
-

removeEventListeners

-
-open fun removeEventListeners(): Widget -

Removes all event listeners from current widget.

-
-

removeSurroundingCssClass

-
-open fun removeSurroundingCssClass(css: String): Widget -

Removes given value from the set of CSS classes generated in html code of parent component.

-
-

render

-
-open fun render(elementName: String): VNode
-open fun render(elementName: String, children: Array<dynamic>): VNode -

Renders current component as a Snabbdom vnode.

-
-

setContextMenu

-
-open fun setContextMenu(contextMenu: ContextMenu): Widget -

Sets context menu for the current widget.

-
-

setDragDropData

-
-open fun setDragDropData(format: String, data: String): Unit -

Sets D&D data for the current widget. It also makes it draggable.

-
-

setDropTarget

-
-open fun setDropTarget(format: String, callback: (DragEvent) -> Unit): Unit
-open fun setDropTarget(formats: Set<String>? = null, callback: (DragEvent) -> Unit): Unit -

Sets the current widget as a D&D drop target.

-
-

setDropTargetData

-
-open fun setDropTargetData(format: String, callback: (String?) -> Unit): Unit -

Sets the current widget as a D&D drop target with helper callback accepting String data.

-
-

setEventListener

-
-open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget -

Sets an event listener for current widget, keeping the actual type of component.

-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget -

Sets an event listener for current widget.

-
-

show

-
-open fun show(): Widget -

Makes current widget visible.

-
-

toggleVisible

-
-open fun toggleVisible(): Widget -

Toggles visibility of current widget.

-
-

translate

-
-fun translate(text: String?): String?
-

Companion Object Functions

- - - - - - - -
-

checkInput

-
-fun Container.checkInput(type: CheckInputType = CheckInputType.CHECKBOX, value: Boolean = false, classes: Set<String> = setOf(), init: CheckInput.() -> Unit = null): CheckInput -

DSL builder extension function.

-
- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/name.html b/api/pl.treksoft.kvision.form.check/-check-input/name.html deleted file mode 100644 index 8a3c35b8..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/name.html +++ /dev/null @@ -1,22 +0,0 @@ - - - -CheckInput.name - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / name
-
-

name

- -open var name: String? -

Overrides FormInput.name

-

The name attribute of the generated HTML input element.

-

Getter
-

The name attribute of the generated HTML input element.

-

-

Setter
-

The name attribute of the generated HTML input element.

-

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/on-click.html b/api/pl.treksoft.kvision.form.check/-check-input/on-click.html deleted file mode 100644 index 66f9330a..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/on-click.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -CheckInput.onClick - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / onClick
-
-

onClick

- -open fun onClick(handler: CheckInput.(MouseEvent) -> Unit): CheckInput -

A convenient helper for easy setting onClick event handler.

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/render.html b/api/pl.treksoft.kvision.form.check/-check-input/render.html deleted file mode 100644 index f5a8b24f..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/render.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -CheckInput.render - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / render
-
-

render

- -protected open fun render(): VNode -

Overrides Widget.render

-

Renders current component as a Snabbdom vnode.

-

Return
-Snabbdom vnode

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/size.html b/api/pl.treksoft.kvision.form.check/-check-input/size.html deleted file mode 100644 index 7f23c262..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/size.html +++ /dev/null @@ -1,22 +0,0 @@ - - - -CheckInput.size - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / size
-
-

size

- -open var size: InputSize? -

Overrides FormInput.size

-

The size of the input.

-

Getter
-

The size of the input.

-

-

Setter
-

The size of the input.

-

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/start-value.html b/api/pl.treksoft.kvision.form.check/-check-input/start-value.html deleted file mode 100644 index c113cc73..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/start-value.html +++ /dev/null @@ -1,27 +0,0 @@ - - - -CheckInput.startValue - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / startValue
-
-

startValue

- -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.

-

Getter
-

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.

-

-

Setter
-

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/-check-input/type.html b/api/pl.treksoft.kvision.form.check/-check-input/type.html deleted file mode 100644 index 660971b1..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/type.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -CheckInput.type - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / type
-
-

type

- -var type: CheckInputType -

The type of the generated HTML input element.

-

Getter
-

The type of the generated HTML input element.

-

-

Setter
-

The type of the generated HTML input element.

-

- - diff --git a/api/pl.treksoft.kvision.form.check/-check-input/value.html b/api/pl.treksoft.kvision.form.check/-check-input/value.html deleted file mode 100644 index 5e6c7d08..00000000 --- a/api/pl.treksoft.kvision.form.check/-check-input/value.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -CheckInput.value - kvision - - - -kvision / pl.treksoft.kvision.form.check / CheckInput / value
-
-

value

- -var value: Boolean -

The selection state of the input.

-

Getter
-

The selection state of the input.

-

-

Setter
-

The selection state of the input.

-

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/-init-.html b/api/pl.treksoft.kvision.form.check/-radio-group/-init-.html deleted file mode 100644 index ab46a0c9..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/-init-.html +++ /dev/null @@ -1,29 +0,0 @@ - - - -RadioGroup.<init> - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / <init>
-
-

<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 group

-

-value - selected option

-

-name - the name attribute of the generated HTML input element

-

-inline - determines if the options are rendered inline

-

-label - label text of the options group

-

-rich - determines if label can contain HTML code

-

Constructor
-

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/blur.html b/api/pl.treksoft.kvision.form.check/-radio-group/blur.html deleted file mode 100644 index 82a46729..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/blur.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -RadioGroup.blur - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / blur
-
-

blur

- -open fun blur(): Unit -

Overrides FormControl.blur

-

Makes the input element blur.

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/disabled.html b/api/pl.treksoft.kvision.form.check/-radio-group/disabled.html deleted file mode 100644 index 67fd5054..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/disabled.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -RadioGroup.disabled - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / disabled
-
-

disabled

- -open var disabled: Boolean -

Overrides FormControl.disabled

-

Determines if the field is disabled.

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/flabel.html b/api/pl.treksoft.kvision.form.check/-radio-group/flabel.html deleted file mode 100644 index de73bfaa..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/flabel.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -RadioGroup.flabel - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / flabel
-
-

flabel

- -val flabel: FieldLabel -

Overrides FormControl.flabel

-

Form field label.

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/focus.html b/api/pl.treksoft.kvision.form.check/-radio-group/focus.html deleted file mode 100644 index aa54efb1..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/focus.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -RadioGroup.focus - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / focus
-
-

focus

- -open fun focus(): Unit -

Overrides FormControl.focus

-

Makes the input element focused.

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/get-sn-class.html b/api/pl.treksoft.kvision.form.check/-radio-group/get-sn-class.html deleted file mode 100644 index 45f2e97a..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/get-sn-class.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -RadioGroup.getSnClass - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / getSnClass
-
-

getSnClass

- -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

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/index.html b/api/pl.treksoft.kvision.form.check/-radio-group/index.html deleted file mode 100644 index d1775942..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-group/index.html +++ /dev/null @@ -1,282 +0,0 @@ - - - -RadioGroup - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup
-
-

RadioGroup

-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.

-

Constructors

- - - - - - - -
-

<init>

-
-RadioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)
-

Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

disabled

-
-open var disabled: Boolean -

Determines if the field is disabled.

-
-

flabel

-
-val flabel: FieldLabel -

Form field label.

-
-

inline

-
-var inline: Boolean -

Determines if the options are rendered inline.

-
-

input

-
-val input: CheckInput -

The actual input component.

-
-

label

-
-var label: String? -

The label text of the options group.

-
-

name

-
-open var name: String? -

The name attribute of the generated HTML input element.

-
-

options

-
-var options: List<StringPair>? -

A list of options (label to value pairs) for the group.

-
-

rich

-
-var rich: Boolean -

Determines if label can contain HTML code.

-
-

size

-
-open var size: InputSize? -

Input control field size.

-
-

validationInfo

-
-val validationInfo: HelpBlock -

Validation info component.

-
-

value

-
-open var value: String? -

A value of the selected option.

-
-

Functions

- - - - - - - - - - - - - - - -
-

blur

-
-open fun blur(): Unit -

Makes the input element blur.

-
-

focus

-
-open fun focus(): Unit -

Makes the input element focused.

-
-

getSnClass

-
-open fun getSnClass(): List<StringBoolPair> -

Returns list of CSS class names for current widget in the form of a List.

-
-

Inherited Functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

add

-
-open fun add(child: Component): SimplePanel -

Adds given component to the current container.

-
-

addAll

-
-open fun addAll(children: List<Component>): SimplePanel -

Adds a list of components to the current container.

-
-

addInternal

-
-fun addInternal(child: Component): SimplePanel -

Protected and final method to add given component to the current container.

-
-

childrenVNodes

-
-open fun childrenVNodes(): Array<VNode> -

Returns the array of the children Snabbdom vnodes.

-
-

getChildren

-
-open fun getChildren(): List<Component> -

Returns a list of children of the current container.

-
-

getValue

-
-open fun getValue(): String? -

Returns the value of the control.

-
-

getValueAsString

-
-open fun getValueAsString(): String? -

Returns the value of the control as a String.

-
-

remove

-
-open fun remove(child: Component): SimplePanel -

Removes given component from the current container.

-
-

removeAll

-
-open fun removeAll(): SimplePanel -

Removes all children from the current container.

-
-

render

-
-open fun render(): VNode -

Renders current component as a Snabbdom vnode.

-
-

setValue

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

Sets the value of the control.

-
-

Companion Object Functions

- - - - - - - -
-

radioGroup

-
-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.

-
- - 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 @@ - - - -RadioGroup.inline - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / inline
-
-

inline

- -var inline: Boolean -

Determines if the options are rendered inline.

-

Getter
-

Determines if the options are rendered inline.

-

-

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 @@ - - - -RadioGroup.input - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / input
-
-

input

- -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 @@ - - - -RadioGroup.label - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / label
-
-

label

- -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 @@ - - - -RadioGroup.name - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / name
-
-

name

- -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 @@ - - - -RadioGroup.options - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / options
-
-

options

- -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 @@ - - - -RadioGroup.radioGroup - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / radioGroup
-
-

radioGroup

- -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 @@ - - - -RadioGroup.rich - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / rich
-
-

rich

- -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 @@ - - - -RadioGroup.size - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / size
-
-

size

- -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 @@ - - - -RadioGroup.validationInfo - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / validationInfo
-
-

validationInfo

- -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 @@ - - - -RadioGroup.value - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioGroup / value
-
-

value

- -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.

-

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio-style/-d-a-n-g-e-r.html b/api/pl.treksoft.kvision.form.check/-radio-style/-d-a-n-g-e-r.html deleted file mode 100644 index 47523213..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-style/-d-a-n-g-e-r.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -RadioStyle.DANGER - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioStyle / DANGER
-
-

DANGER

- -DANGER - - diff --git a/api/pl.treksoft.kvision.form.check/-radio-style/-d-e-f-a-u-l-t.html b/api/pl.treksoft.kvision.form.check/-radio-style/-d-e-f-a-u-l-t.html deleted file mode 100644 index 9d09d78f..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-style/-d-e-f-a-u-l-t.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -RadioStyle.DEFAULT - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioStyle / DEFAULT
-
-

DEFAULT

- -DEFAULT - - diff --git a/api/pl.treksoft.kvision.form.check/-radio-style/-i-n-f-o.html b/api/pl.treksoft.kvision.form.check/-radio-style/-i-n-f-o.html deleted file mode 100644 index 1ae6a070..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-style/-i-n-f-o.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -RadioStyle.INFO - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioStyle / INFO
-
-

INFO

- -INFO - - diff --git a/api/pl.treksoft.kvision.form.check/-radio-style/-p-r-i-m-a-r-y.html b/api/pl.treksoft.kvision.form.check/-radio-style/-p-r-i-m-a-r-y.html deleted file mode 100644 index d5808cd6..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-style/-p-r-i-m-a-r-y.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -RadioStyle.PRIMARY - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioStyle / PRIMARY
-
-

PRIMARY

- -PRIMARY - - diff --git a/api/pl.treksoft.kvision.form.check/-radio-style/-s-u-c-c-e-s-s.html b/api/pl.treksoft.kvision.form.check/-radio-style/-s-u-c-c-e-s-s.html deleted file mode 100644 index 0fc2918a..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-style/-s-u-c-c-e-s-s.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -RadioStyle.SUCCESS - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioStyle / SUCCESS
-
-

SUCCESS

- -SUCCESS - - diff --git a/api/pl.treksoft.kvision.form.check/-radio-style/-w-a-r-n-i-n-g.html b/api/pl.treksoft.kvision.form.check/-radio-style/-w-a-r-n-i-n-g.html deleted file mode 100644 index 37b9d548..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-style/-w-a-r-n-i-n-g.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -RadioStyle.WARNING - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioStyle / WARNING
-
-

WARNING

- -WARNING - - diff --git a/api/pl.treksoft.kvision.form.check/-radio-style/index.html b/api/pl.treksoft.kvision.form.check/-radio-style/index.html deleted file mode 100644 index de9ae11a..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio-style/index.html +++ /dev/null @@ -1,61 +0,0 @@ - - - -RadioStyle - kvision - - - -kvision / pl.treksoft.kvision.form.check / RadioStyle
-
-

RadioStyle

-enum class RadioStyle -

Radio style options.

-

Enum Values

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

DEFAULT

-
-
-

PRIMARY

-
-
-

SUCCESS

-
-
-

INFO

-
-
-

WARNING

-
-
-

DANGER

-
-
- - diff --git a/api/pl.treksoft.kvision.form.check/-radio/-init-.html b/api/pl.treksoft.kvision.form.check/-radio/-init-.html deleted file mode 100644 index 4f7ae330..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/-init-.html +++ /dev/null @@ -1,27 +0,0 @@ - - - -Radio.<init> - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / <init>
-
-

<init>

- -Radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false) -

Parameters

-

-value - selection state

-

-extraValue - the additional String value used for the radio button group

-

-name - the name attribute of the generated HTML input element

-

-label - label text bound to the input element

-

-rich - determines if label can contain HTML code

-

Constructor
-

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio/blur.html b/api/pl.treksoft.kvision.form.check/-radio/blur.html deleted file mode 100644 index 6ecbdcb3..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/blur.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Radio.blur - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / blur
-
-

blur

- -open fun blur(): Unit -

Overrides FormControl.blur

-

Makes the input element blur.

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio/extra-value.html b/api/pl.treksoft.kvision.form.check/-radio/extra-value.html deleted file mode 100644 index 65bfd84c..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/extra-value.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -Radio.extraValue - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / extraValue
-
-

extraValue

- -var extraValue: String? -

The additional String value used for the radio button group.

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio/flabel.html b/api/pl.treksoft.kvision.form.check/-radio/flabel.html deleted file mode 100644 index 538181c7..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/flabel.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Radio.flabel - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / flabel
-
-

flabel

- -val flabel: FieldLabel -

Overrides FormControl.flabel

-

Form field label.

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio/focus.html b/api/pl.treksoft.kvision.form.check/-radio/focus.html deleted file mode 100644 index fff66f41..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/focus.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Radio.focus - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / focus
-
-

focus

- -open fun focus(): Unit -

Overrides FormControl.focus

-

Makes the input element focused.

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio/get-sn-class.html b/api/pl.treksoft.kvision.form.check/-radio/get-sn-class.html deleted file mode 100644 index 4e585f76..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/get-sn-class.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -Radio.getSnClass - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / getSnClass
-
-

getSnClass

- -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

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio/index.html b/api/pl.treksoft.kvision.form.check/-radio/index.html deleted file mode 100644 index e7d9d2f4..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/index.html +++ /dev/null @@ -1,309 +0,0 @@ - - - -Radio - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio
-
-

Radio

-open class Radio : SimplePanel, BoolFormControl -

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

-

Constructors

- - - - - - - -
-

<init>

-
-Radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)
-

Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

extraValue

-
-var extraValue: String? -

The additional String value used for the radio button group.

-
-

flabel

-
-val flabel: FieldLabel -

Form field label.

-
-

inline

-
-var inline: Boolean -

Determines if the radio button is rendered inline.

-
-

input

-
-val input: CheckInput -

The actual input component.

-
-

label

-
-var label: String? -

The label text bound to the input element.

-
-

rich

-
-var rich: Boolean -

Determines if label can contain HTML code.

-
-

squared

-
-var squared: Boolean -

Determines if the radio button is rendered as a square.

-
-

startValue

-
-var startValue: Boolean -

The value attribute of the generated HTML input element.

-
-

style

-
-var style: RadioStyle? -

The style (one of Bootstrap standard colors) of the input.

-
-

validationInfo

-
-val validationInfo: HelpBlock -

Validation info component.

-
-

value

-
-open var value: Boolean -

The selection state of the radio button.

-
-

Functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

blur

-
-open fun blur(): Unit -

Makes the input element blur.

-
-

focus

-
-open fun focus(): Unit -

Makes the input element focused.

-
-

getSnClass

-
-open fun getSnClass(): List<StringBoolPair> -

Returns list of CSS class names for current widget in the form of a List.

-
-

onClick

-
-open fun onClick(handler: Radio.(MouseEvent) -> Unit): Radio -

A convenient helper for easy setting onClick event handler.

-
-

removeEventListeners

-
-open fun removeEventListeners(): Widget -

Removes all event listeners from current widget.

-
-

setEventListener

-
-open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget -

Sets an event listener for current widget, keeping the actual type of component.

-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget -

Sets an event listener for current widget.

-
-

Inherited Functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

add

-
-open fun add(child: Component): SimplePanel -

Adds given component to the current container.

-
-

addAll

-
-open fun addAll(children: List<Component>): SimplePanel -

Adds a list of components to the current container.

-
-

addInternal

-
-fun addInternal(child: Component): SimplePanel -

Protected and final method to add given component to the current container.

-
-

childrenVNodes

-
-open fun childrenVNodes(): Array<VNode> -

Returns the array of the children Snabbdom vnodes.

-
-

getChildren

-
-open fun getChildren(): List<Component> -

Returns a list of children of the current container.

-
-

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.

-
-

remove

-
-open fun remove(child: Component): SimplePanel -

Removes given component from the current container.

-
-

removeAll

-
-open fun removeAll(): SimplePanel -

Removes all children from the current container.

-
-

render

-
-open fun render(): VNode -

Renders current component as a Snabbdom vnode.

-
-

setValue

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

Sets the value of the control.

-
-

Companion Object Functions

- - - - - - - -
-

radio

-
-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.

-
- - 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 @@ - - - -Radio.inline - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / inline
-
-

inline

- -var inline: Boolean -

Determines if the radio button is rendered inline.

-

Getter
-

Determines if the radio button is rendered inline.

-

-

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 @@ - - - -Radio.input - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / input
-
-

input

- -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 @@ - - - -Radio.label - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / label
-
-

label

- -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 @@ - - - -Radio.onClick - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / onClick
-
-

onClick

- -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 @@ - - - -Radio.radio - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / radio
-
-

radio

- -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 @@ - - - -Radio.removeEventListeners - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / removeEventListeners
-
-

removeEventListeners

- -open fun removeEventListeners(): Widget -

Overrides Widget.removeEventListeners

-

Removes all event listeners from current widget.

-

Return
-current widget

- - diff --git a/api/pl.treksoft.kvision.form.check/-radio/rich.html b/api/pl.treksoft.kvision.form.check/-radio/rich.html deleted file mode 100644 index d7973e28..00000000 --- a/api/pl.treksoft.kvision.form.check/-radio/rich.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -Radio.rich - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / rich
-
-

rich

- -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 @@ - - - -Radio.setEventListener - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / setEventListener
-
-

setEventListener

- -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.

-

Parameters

-

-T - widget type

-

-block - event handler

-

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.

-

Parameters

-

-block - event handler

-

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 @@ - - - -Radio.squared - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / squared
-
-

squared

- -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 @@ - - - -Radio.startValue - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / startValue
-
-

startValue

- -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 @@ - - - -Radio.style - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / style
-
-

style

- -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 @@ - - - -Radio.validationInfo - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / validationInfo
-
-

validationInfo

- -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 @@ - - - -Radio.value - kvision - - - -kvision / pl.treksoft.kvision.form.check / Radio / value
-
-

value

- -open var value: Boolean -

Overrides BoolFormControl.value

-

The selection state of the radio button.

- - diff --git a/api/pl.treksoft.kvision.form.check/index.html b/api/pl.treksoft.kvision.form.check/index.html deleted file mode 100644 index d61b4b2a..00000000 --- a/api/pl.treksoft.kvision.form.check/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - -pl.treksoft.kvision.form.check - kvision - - - -kvision / pl.treksoft.kvision.form.check
-
-

Package pl.treksoft.kvision.form.check

-

Checkbox, radiobutton and radiobutton group components.

-

Types

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

CheckBox

-
-open class CheckBox : SimplePanel, BoolFormControl -

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

-
-

CheckBoxStyle

-
-enum class CheckBoxStyle -

Checkbox style options.

-
-

CheckInput

-
-open class CheckInput : Widget, FormInput -

The basic input component rendered as HTML input type="checkbox" or input type="radio".

-
-

CheckInputType

-
-enum class CheckInputType -

Type of the check input control (checkbox or radio).

-
-

Radio

-
-open class Radio : SimplePanel, BoolFormControl -

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

-
-

RadioGroup

-
-open class RadioGroup : SimplePanel, StringFormControl -

The form field component rendered as a group of HTML input type="radio" elements with the same name attribute.

-
-

RadioStyle

-
-enum class RadioStyle -

Radio style options.

-
- - -- cgit