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 --- .../-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 -- 20 files changed, 678 deletions(-) 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 (limited to 'api/pl.treksoft.kvision.form.check/-radio') 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.

- - -- cgit