From d8cd67062b8de6e8398dc6dfd00d201200c82414 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 9 Feb 2018 13:40:35 +0100 Subject: API doc and readme --- .../-bool-form-control/get-value-as-string.html | 16 ++ .../-bool-form-control/get-value.html | 18 ++ .../-bool-form-control/index.html | 142 ++++++++++++ .../-bool-form-control/set-value.html | 19 ++ .../-bool-form-control/value.html | 15 ++ .../-date-form-control/get-value-as-string.html | 16 ++ .../-date-form-control/get-value.html | 18 ++ .../-date-form-control/index.html | 133 ++++++++++++ .../-date-form-control/set-value.html | 19 ++ .../-date-form-control/value.html | 15 ++ .../-f-o-r-m-t-y-p-e/-h-o-r-i-z-o-n-t-a-l.html | 14 ++ .../-f-o-r-m-t-y-p-e/-i-n-l-i-n-e.html | 14 ++ .../-f-o-r-m-t-y-p-e/index.html | 33 +++ .../-field-label/-init-.html | 25 +++ .../-field-label/get-sn-attrs.html | 18 ++ .../-field-label/index.html | 104 +++++++++ .../-form-control/disabled.html | 15 ++ .../-form-control/flabel.html | 15 ++ .../-form-control/get-value-as-string.html | 15 ++ .../-form-control/get-value.html | 17 ++ .../-form-control/index.html | 237 +++++++++++++++++++++ .../-form-control/input.html | 15 ++ .../-form-control/set-value.html | 18 ++ .../-form-control/size.html | 15 ++ .../-form-control/validation-info.html | 15 ++ .../-form-control/validator-error.html | 15 ++ .../-form-panel/-init-.html | 25 +++ .../pl.treksoft.kvision.form/-form-panel/add.html | 28 +++ .../-form-panel/clear-data.html | 15 ++ .../-form-panel/get-control.html | 20 ++ .../-form-panel/get-data-json.html | 17 ++ .../-form-panel/get-data.html | 17 ++ .../-form-panel/get-sn-class.html | 18 ++ .../pl.treksoft.kvision.form/-form-panel/get.html | 20 ++ .../-form-panel/index.html | 221 +++++++++++++++++++ .../-form-panel/remove-all.html | 18 ++ .../-form-panel/remove.html | 20 ++ .../-form-panel/render.html | 18 ++ .../-form-panel/set-data.html | 18 ++ .../-form-panel/validate.html | 17 ++ .../-form-panel/validator-message.html | 15 ++ .../-form-panel/validator.html | 15 ++ .../api/pl.treksoft.kvision.form/-form/-init-.html | 24 +++ docs/api/pl.treksoft.kvision.form/-form/add.html | 28 +++ .../pl.treksoft.kvision.form/-form/clear-data.html | 15 ++ .../-form/get-control.html | 20 ++ .../-form/get-data-json.html | 17 ++ .../pl.treksoft.kvision.form/-form/get-data.html | 17 ++ docs/api/pl.treksoft.kvision.form/-form/get.html | 20 ++ docs/api/pl.treksoft.kvision.form/-form/index.html | 123 +++++++++++ .../pl.treksoft.kvision.form/-form/remove-all.html | 17 ++ .../api/pl.treksoft.kvision.form/-form/remove.html | 20 ++ .../pl.treksoft.kvision.form/-form/set-data.html | 18 ++ .../pl.treksoft.kvision.form/-form/validate.html | 17 ++ .../-help-block/-init-.html | 21 ++ .../-help-block/index.html | 90 ++++++++ .../-i-n-p-u-t-s-i-z-e/-l-a-r-g-e.html | 26 +++ .../-i-n-p-u-t-s-i-z-e/-s-m-a-l-l.html | 26 +++ .../-i-n-p-u-t-s-i-z-e/class-name.html | 14 ++ .../-i-n-p-u-t-s-i-z-e/index.html | 45 ++++ .../-number-form-control/get-value-as-string.html | 16 ++ .../-number-form-control/get-value.html | 18 ++ .../-number-form-control/index.html | 133 ++++++++++++ .../-number-form-control/set-value.html | 19 ++ .../-number-form-control/value.html | 15 ++ .../-string-form-control/get-value-as-string.html | 16 ++ .../-string-form-control/get-value.html | 18 ++ .../-string-form-control/index.html | 151 +++++++++++++ .../-string-form-control/set-value.html | 19 ++ .../-string-form-control/value.html | 15 ++ docs/api/pl.treksoft.kvision.form/index.html | 130 +++++++++++ .../kotlin.collections.-map/as-json.html | 15 ++ .../kotlin.collections.-map/bool.html | 15 ++ .../kotlin.collections.-map/date.html | 15 ++ .../kotlin.collections.-map/index.html | 61 ++++++ .../kotlin.collections.-map/number.html | 15 ++ .../kotlin.collections.-map/string.html | 15 ++ 77 files changed, 2742 insertions(+) create mode 100644 docs/api/pl.treksoft.kvision.form/-bool-form-control/get-value-as-string.html create mode 100644 docs/api/pl.treksoft.kvision.form/-bool-form-control/get-value.html create mode 100644 docs/api/pl.treksoft.kvision.form/-bool-form-control/index.html create mode 100644 docs/api/pl.treksoft.kvision.form/-bool-form-control/set-value.html create mode 100644 docs/api/pl.treksoft.kvision.form/-bool-form-control/value.html create mode 100644 docs/api/pl.treksoft.kvision.form/-date-form-control/get-value-as-string.html create mode 100644 docs/api/pl.treksoft.kvision.form/-date-form-control/get-value.html create mode 100644 docs/api/pl.treksoft.kvision.form/-date-form-control/index.html create mode 100644 docs/api/pl.treksoft.kvision.form/-date-form-control/set-value.html create mode 100644 docs/api/pl.treksoft.kvision.form/-date-form-control/value.html create mode 100644 docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/-h-o-r-i-z-o-n-t-a-l.html create mode 100644 docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/-i-n-l-i-n-e.html create mode 100644 docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/index.html create mode 100644 docs/api/pl.treksoft.kvision.form/-field-label/-init-.html create mode 100644 docs/api/pl.treksoft.kvision.form/-field-label/get-sn-attrs.html create mode 100644 docs/api/pl.treksoft.kvision.form/-field-label/index.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-control/disabled.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-control/flabel.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-control/get-value-as-string.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-control/get-value.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-control/index.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-control/input.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-control/set-value.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-control/size.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-control/validation-info.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-control/validator-error.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/-init-.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/add.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/clear-data.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/get-control.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/get-data-json.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/get-data.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/get-sn-class.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/get.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/index.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/remove-all.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/remove.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/render.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/set-data.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/validate.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/validator-message.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/validator.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form/-init-.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form/add.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form/clear-data.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form/get-control.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form/get-data-json.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form/get-data.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form/get.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form/index.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form/remove-all.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form/remove.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form/set-data.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form/validate.html create mode 100644 docs/api/pl.treksoft.kvision.form/-help-block/-init-.html create mode 100644 docs/api/pl.treksoft.kvision.form/-help-block/index.html create mode 100644 docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/-l-a-r-g-e.html create mode 100644 docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/-s-m-a-l-l.html create mode 100644 docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/class-name.html create mode 100644 docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/index.html create mode 100644 docs/api/pl.treksoft.kvision.form/-number-form-control/get-value-as-string.html create mode 100644 docs/api/pl.treksoft.kvision.form/-number-form-control/get-value.html create mode 100644 docs/api/pl.treksoft.kvision.form/-number-form-control/index.html create mode 100644 docs/api/pl.treksoft.kvision.form/-number-form-control/set-value.html create mode 100644 docs/api/pl.treksoft.kvision.form/-number-form-control/value.html create mode 100644 docs/api/pl.treksoft.kvision.form/-string-form-control/get-value-as-string.html create mode 100644 docs/api/pl.treksoft.kvision.form/-string-form-control/get-value.html create mode 100644 docs/api/pl.treksoft.kvision.form/-string-form-control/index.html create mode 100644 docs/api/pl.treksoft.kvision.form/-string-form-control/set-value.html create mode 100644 docs/api/pl.treksoft.kvision.form/-string-form-control/value.html create mode 100644 docs/api/pl.treksoft.kvision.form/index.html create mode 100644 docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/as-json.html create mode 100644 docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/bool.html create mode 100644 docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/date.html create mode 100644 docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/index.html create mode 100644 docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/number.html create mode 100644 docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/string.html (limited to 'docs/api/pl.treksoft.kvision.form') diff --git a/docs/api/pl.treksoft.kvision.form/-bool-form-control/get-value-as-string.html b/docs/api/pl.treksoft.kvision.form/-bool-form-control/get-value-as-string.html new file mode 100644 index 00000000..051170f1 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-bool-form-control/get-value-as-string.html @@ -0,0 +1,16 @@ + + + +BoolFormControl.getValueAsString - kvision + + + +kvision / pl.treksoft.kvision.form / BoolFormControl / getValueAsString
+
+

getValueAsString

+ +open fun getValueAsString(): String? +

Overrides FormControl.getValueAsString

+

Returns the value of the control as a String.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-bool-form-control/get-value.html b/docs/api/pl.treksoft.kvision.form/-bool-form-control/get-value.html new file mode 100644 index 00000000..3e08a58c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-bool-form-control/get-value.html @@ -0,0 +1,18 @@ + + + +BoolFormControl.getValue - kvision + + + +kvision / pl.treksoft.kvision.form / BoolFormControl / getValue
+
+

getValue

+ +open fun getValue(): Boolean +

Overrides FormControl.getValue

+

Returns the value of the control.

+

Return
+the value

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-bool-form-control/index.html b/docs/api/pl.treksoft.kvision.form/-bool-form-control/index.html new file mode 100644 index 00000000..8e792629 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-bool-form-control/index.html @@ -0,0 +1,142 @@ + + + +BoolFormControl - kvision + + + +kvision / pl.treksoft.kvision.form / BoolFormControl
+
+

BoolFormControl

+interface BoolFormControl : FormControl +

Base interface of a form control with a boolean value.

+

Properties

+ + + + + + + +
+

value

+
+abstract var value: Boolean +

Boolean value.

+
+

Inherited Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

disabled

+
+abstract var disabled: Boolean +

Determines if the field is disabled.

+
+

flabel

+
+abstract val flabel: FieldLabel +

Form field label.

+
+

input

+
+abstract val input: Component +

The actual input component.

+
+

size

+
+abstract var size: INPUTSIZE? +

Input control size.

+
+

validationInfo

+
+abstract val validationInfo: HelpBlock +

Validation info component.

+
+

validatorError

+
+open var validatorError: String? +

Validator error message.

+
+

Functions

+ + + + + + + + + + + + + + + +
+

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.

+
+

setValue

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

Sets the value of the control.

+
+

Inheritors

+ + + + + + + + + + + +
+

CheckBox

+
+open class CheckBox : SimplePanel, BoolFormControl +

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

+
+

Radio

+
+open class Radio : SimplePanel, BoolFormControl +

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

+
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-bool-form-control/set-value.html b/docs/api/pl.treksoft.kvision.form/-bool-form-control/set-value.html new file mode 100644 index 00000000..66079b74 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-bool-form-control/set-value.html @@ -0,0 +1,19 @@ + + + +BoolFormControl.setValue - kvision + + + +kvision / pl.treksoft.kvision.form / BoolFormControl / setValue
+
+

setValue

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

Overrides FormControl.setValue

+

Sets the value of the control.

+

Parameters

+

+v - the value

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-bool-form-control/value.html b/docs/api/pl.treksoft.kvision.form/-bool-form-control/value.html new file mode 100644 index 00000000..83a96ef7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-bool-form-control/value.html @@ -0,0 +1,15 @@ + + + +BoolFormControl.value - kvision + + + +kvision / pl.treksoft.kvision.form / BoolFormControl / value
+
+

value

+ +abstract var value: Boolean +

Boolean value.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-date-form-control/get-value-as-string.html b/docs/api/pl.treksoft.kvision.form/-date-form-control/get-value-as-string.html new file mode 100644 index 00000000..8ec76a28 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-date-form-control/get-value-as-string.html @@ -0,0 +1,16 @@ + + + +DateFormControl.getValueAsString - kvision + + + +kvision / pl.treksoft.kvision.form / DateFormControl / getValueAsString
+
+

getValueAsString

+ +open fun getValueAsString(): String? +

Overrides FormControl.getValueAsString

+

Returns the value of the control as a String.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-date-form-control/get-value.html b/docs/api/pl.treksoft.kvision.form/-date-form-control/get-value.html new file mode 100644 index 00000000..9f2ce3e6 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-date-form-control/get-value.html @@ -0,0 +1,18 @@ + + + +DateFormControl.getValue - kvision + + + +kvision / pl.treksoft.kvision.form / DateFormControl / getValue
+
+

getValue

+ +open fun getValue(): Date? +

Overrides FormControl.getValue

+

Returns the value of the control.

+

Return
+the value

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-date-form-control/index.html b/docs/api/pl.treksoft.kvision.form/-date-form-control/index.html new file mode 100644 index 00000000..73ebf208 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-date-form-control/index.html @@ -0,0 +1,133 @@ + + + +DateFormControl - kvision + + + +kvision / pl.treksoft.kvision.form / DateFormControl
+
+

DateFormControl

+interface DateFormControl : FormControl +

Base interface of a form control with a date value.

+

Properties

+ + + + + + + +
+

value

+
+abstract var value: Date? +

Date value.

+
+

Inherited Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

disabled

+
+abstract var disabled: Boolean +

Determines if the field is disabled.

+
+

flabel

+
+abstract val flabel: FieldLabel +

Form field label.

+
+

input

+
+abstract val input: Component +

The actual input component.

+
+

size

+
+abstract var size: INPUTSIZE? +

Input control size.

+
+

validationInfo

+
+abstract val validationInfo: HelpBlock +

Validation info component.

+
+

validatorError

+
+open var validatorError: String? +

Validator error message.

+
+

Functions

+ + + + + + + + + + + + + + + +
+

getValue

+
+open fun getValue(): Date? +

Returns the value of the control.

+
+

getValueAsString

+
+open fun getValueAsString(): String? +

Returns the value of the control as a String.

+
+

setValue

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

Sets the value of the control.

+
+

Inheritors

+ + + + + + + +
+

DateTime

+
+open class DateTime : SimplePanel, DateFormControl +

Form field date/time chooser component.

+
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-date-form-control/set-value.html b/docs/api/pl.treksoft.kvision.form/-date-form-control/set-value.html new file mode 100644 index 00000000..7dd2477e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-date-form-control/set-value.html @@ -0,0 +1,19 @@ + + + +DateFormControl.setValue - kvision + + + +kvision / pl.treksoft.kvision.form / DateFormControl / setValue
+
+

setValue

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

Overrides FormControl.setValue

+

Sets the value of the control.

+

Parameters

+

+v - the value

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-date-form-control/value.html b/docs/api/pl.treksoft.kvision.form/-date-form-control/value.html new file mode 100644 index 00000000..0d6d2079 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-date-form-control/value.html @@ -0,0 +1,15 @@ + + + +DateFormControl.value - kvision + + + +kvision / pl.treksoft.kvision.form / DateFormControl / value
+
+

value

+ +abstract var value: Date? +

Date value.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/-h-o-r-i-z-o-n-t-a-l.html b/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/-h-o-r-i-z-o-n-t-a-l.html new file mode 100644 index 00000000..2bd28bd0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/-h-o-r-i-z-o-n-t-a-l.html @@ -0,0 +1,14 @@ + + + +FORMTYPE.HORIZONTAL - kvision + + + +kvision / pl.treksoft.kvision.form / FORMTYPE / HORIZONTAL
+
+

HORIZONTAL

+ +HORIZONTAL + + diff --git a/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/-i-n-l-i-n-e.html b/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/-i-n-l-i-n-e.html new file mode 100644 index 00000000..603b1c76 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/-i-n-l-i-n-e.html @@ -0,0 +1,14 @@ + + + +FORMTYPE.INLINE - kvision + + + +kvision / pl.treksoft.kvision.form / FORMTYPE / INLINE
+
+

INLINE

+ +INLINE + + diff --git a/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/index.html b/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/index.html new file mode 100644 index 00000000..b249e6da --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-f-o-r-m-t-y-p-e/index.html @@ -0,0 +1,33 @@ + + + +FORMTYPE - kvision + + + +kvision / pl.treksoft.kvision.form / FORMTYPE
+
+

FORMTYPE

+enum class FORMTYPE +

Bootstrap form layout options.

+

Enum Values

+ + + + + + + + + + + +
+

INLINE

+
+
+

HORIZONTAL

+
+
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-field-label/-init-.html b/docs/api/pl.treksoft.kvision.form/-field-label/-init-.html new file mode 100644 index 00000000..329b7a8a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-field-label/-init-.html @@ -0,0 +1,25 @@ + + + +FieldLabel.<init> - kvision + + + +kvision / pl.treksoft.kvision.form / FieldLabel / <init>
+
+

<init>

+ +FieldLabel(forId: String, text: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label")) +

Parameters

+

+forId - the value of for attribute

+

+text - the text of the label

+

+rich - determines if text can contain HTML code

+

+classes - a set of CSS class names

+

Constructor
+

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-field-label/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form/-field-label/get-sn-attrs.html new file mode 100644 index 00000000..c34e5d58 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-field-label/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +FieldLabel.getSnAttrs - kvision + + + +kvision / pl.treksoft.kvision.form / FieldLabel / 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/docs/api/pl.treksoft.kvision.form/-field-label/index.html b/docs/api/pl.treksoft.kvision.form/-field-label/index.html new file mode 100644 index 00000000..97a7f57f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-field-label/index.html @@ -0,0 +1,104 @@ + + + +FieldLabel - kvision + + + +kvision / pl.treksoft.kvision.form / FieldLabel
+
+

FieldLabel

+open class FieldLabel : Tag +

Helper class for HTML label element.

+

Constructors

+ + + + + + + +
+

<init>

+
+FieldLabel(forId: String, text: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"))
+

Inherited Properties

+ + + + + + + + + + + + + + + + + + + +
+

align

+
+var align: ALIGN? +

Text align.

+
+

rich

+
+var rich: Boolean +

Determines if text can contain HTML code.

+
+

text

+
+var text: String? +

Text content of the tag.

+
+

type

+
+var type: TAG +

Tag type.

+
+

Functions

+ + + + + + + +
+

getSnAttrs

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

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

+
+

Inherited Functions

+ + + + + + + + + + + +
+

getSnClass

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

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

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-control/disabled.html b/docs/api/pl.treksoft.kvision.form/-form-control/disabled.html new file mode 100644 index 00000000..ac5dc5aa --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-control/disabled.html @@ -0,0 +1,15 @@ + + + +FormControl.disabled - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl / disabled
+
+

disabled

+ +abstract var disabled: Boolean +

Determines if the field is disabled.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-control/flabel.html b/docs/api/pl.treksoft.kvision.form/-form-control/flabel.html new file mode 100644 index 00000000..51e4d46e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-control/flabel.html @@ -0,0 +1,15 @@ + + + +FormControl.flabel - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl / flabel
+
+

flabel

+ +abstract val flabel: FieldLabel +

Form field label.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-control/get-value-as-string.html b/docs/api/pl.treksoft.kvision.form/-form-control/get-value-as-string.html new file mode 100644 index 00000000..671320bf --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-control/get-value-as-string.html @@ -0,0 +1,15 @@ + + + +FormControl.getValueAsString - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl / getValueAsString
+
+

getValueAsString

+ +abstract fun getValueAsString(): String? +

Returns the value of the control as a String.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-control/get-value.html b/docs/api/pl.treksoft.kvision.form/-form-control/get-value.html new file mode 100644 index 00000000..6ac2fc1e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-control/get-value.html @@ -0,0 +1,17 @@ + + + +FormControl.getValue - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl / getValue
+
+

getValue

+ +abstract fun getValue(): Any? +

Returns the value of the control.

+

Return
+the value

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-control/index.html b/docs/api/pl.treksoft.kvision.form/-form-control/index.html new file mode 100644 index 00000000..f5e493f4 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-control/index.html @@ -0,0 +1,237 @@ + + + +FormControl - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl
+
+

FormControl

+interface FormControl : Component +

Base interface of a form control.

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

disabled

+
+abstract var disabled: Boolean +

Determines if the field is disabled.

+
+

flabel

+
+abstract val flabel: FieldLabel +

Form field label.

+
+

input

+
+abstract val input: Component +

The actual input component.

+
+

size

+
+abstract var size: INPUTSIZE? +

Input control size.

+
+

validationInfo

+
+abstract val validationInfo: HelpBlock +

Validation info component.

+
+

validatorError

+
+open var validatorError: String? +

Validator error message.

+
+

Inherited Properties

+ + + + + + + + + + + +
+

parent

+
+abstract var parent: Component? +

Parent of the current component.

+
+

visible

+
+abstract var visible: Boolean +

Visibility state of the current component.

+
+

Functions

+ + + + + + + + + + + + + + + +
+

getValue

+
+abstract fun getValue(): Any? +

Returns the value of the control.

+
+

getValueAsString

+
+abstract fun getValueAsString(): String? +

Returns the value of the control as a String.

+
+

setValue

+
+abstract fun setValue(v: Any?): Unit +

Sets the value of the control.

+
+

Inherited Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

addCssClass

+
+abstract fun addCssClass(css: String): Component +

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

+
+

addSurroundingCssClass

+
+abstract fun addSurroundingCssClass(css: String): Component +

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

+
+

getElement

+
+abstract fun getElement(): Node? +

Returns DOM element bound to the current component.

+
+

getElementJQuery

+
+abstract fun getElementJQuery(): JQuery? +

Returns JQuery element bound to the current component.

+
+

getElementJQueryD

+
+abstract fun getElementJQueryD(): dynamic +

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

+
+

removeCssClass

+
+abstract fun removeCssClass(css: String): Component +

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

+
+

removeSurroundingCssClass

+
+abstract fun removeSurroundingCssClass(css: String): Component +

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

+
+

Inheritors

+ + + + + + + + + + + + + + + + + + + +
+

BoolFormControl

+
+interface BoolFormControl : FormControl +

Base interface of a form control with a boolean value.

+
+

DateFormControl

+
+interface DateFormControl : FormControl +

Base interface of a form control with a date value.

+
+

NumberFormControl

+
+interface NumberFormControl : FormControl +

Base interface of a form control with a numeric value.

+
+

StringFormControl

+
+interface StringFormControl : FormControl +

Base interface of a form control with a text value.

+
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-control/input.html b/docs/api/pl.treksoft.kvision.form/-form-control/input.html new file mode 100644 index 00000000..6ed80ddd --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-control/input.html @@ -0,0 +1,15 @@ + + + +FormControl.input - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl / input
+
+

input

+ +abstract val input: Component +

The actual input component.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-control/set-value.html b/docs/api/pl.treksoft.kvision.form/-form-control/set-value.html new file mode 100644 index 00000000..ab425936 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-control/set-value.html @@ -0,0 +1,18 @@ + + + +FormControl.setValue - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl / setValue
+
+

setValue

+ +abstract fun setValue(v: Any?): Unit +

Sets the value of the control.

+

Parameters

+

+v - the value

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-control/size.html b/docs/api/pl.treksoft.kvision.form/-form-control/size.html new file mode 100644 index 00000000..cb844a2a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-control/size.html @@ -0,0 +1,15 @@ + + + +FormControl.size - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl / size
+
+

size

+ +abstract var size: INPUTSIZE? +

Input control size.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-control/validation-info.html b/docs/api/pl.treksoft.kvision.form/-form-control/validation-info.html new file mode 100644 index 00000000..e477d349 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-control/validation-info.html @@ -0,0 +1,15 @@ + + + +FormControl.validationInfo - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl / validationInfo
+
+

validationInfo

+ +abstract val validationInfo: HelpBlock +

Validation info component.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-control/validator-error.html b/docs/api/pl.treksoft.kvision.form/-form-control/validator-error.html new file mode 100644 index 00000000..9af55095 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-control/validator-error.html @@ -0,0 +1,15 @@ + + + +FormControl.validatorError - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl / validatorError
+
+

validatorError

+ +open var validatorError: String? +

Validator error message.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/-init-.html b/docs/api/pl.treksoft.kvision.form/-form-panel/-init-.html new file mode 100644 index 00000000..b2cb554d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/-init-.html @@ -0,0 +1,25 @@ + + + +FormPanel.<init> - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / <init>
+
+

<init>

+ +FormPanel(type: FORMTYPE? = null, classes: Set<String> = setOf(), modelFactory: (Map<String, Any?>) -> K) +

Parameters

+

+K - model class type

+

+type - form layout

+

+classes - set of CSS class names

+

+modelFactory - function transforming a Map<String, Any?> to a data model of class K

+

Constructor
+

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/add.html b/docs/api/pl.treksoft.kvision.form/-form-panel/add.html new file mode 100644 index 00000000..dabf16e2 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/add.html @@ -0,0 +1,28 @@ + + + +FormPanel.add - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / add
+
+

add

+ +open fun <C : FormControl> add(key: String, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K> +

Adds a control to the form panel.

+

Parameters

+

+key - key identifier of the control

+

+control - the form control

+

+required - determines if the control is required

+

+validatorMessage - optional function returning validation message

+

+validator - optional validation function

+

Return
+current form panel

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/clear-data.html b/docs/api/pl.treksoft.kvision.form/-form-panel/clear-data.html new file mode 100644 index 00000000..78194286 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/clear-data.html @@ -0,0 +1,15 @@ + + + +FormPanel.clearData - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / clearData
+
+

clearData

+ +open fun clearData(): Unit +

Sets the values of all controls to null.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/get-control.html b/docs/api/pl.treksoft.kvision.form/-form-panel/get-control.html new file mode 100644 index 00000000..e3e8b15c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/get-control.html @@ -0,0 +1,20 @@ + + + +FormPanel.getControl - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / getControl
+
+

getControl

+ +open fun getControl(key: String): FormControl? +

Returns a control of given key.

+

Parameters

+

+key - key identifier of the control

+

Return
+selected control

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/get-data-json.html b/docs/api/pl.treksoft.kvision.form/-form-panel/get-data-json.html new file mode 100644 index 00000000..f472a575 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/get-data-json.html @@ -0,0 +1,17 @@ + + + +FormPanel.getDataJson - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / getDataJson
+
+

getDataJson

+ +open fun getDataJson(): Json +

Returns current data model as JSON.

+

Return
+data model as JSON

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/get-data.html b/docs/api/pl.treksoft.kvision.form/-form-panel/get-data.html new file mode 100644 index 00000000..c66e11c1 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/get-data.html @@ -0,0 +1,17 @@ + + + +FormPanel.getData - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / getData
+
+

getData

+ +open fun getData(): K +

Returns current data model.

+

Return
+data model

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/get-sn-class.html b/docs/api/pl.treksoft.kvision.form/-form-panel/get-sn-class.html new file mode 100644 index 00000000..dd839778 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/get-sn-class.html @@ -0,0 +1,18 @@ + + + +FormPanel.getSnClass - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / 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/docs/api/pl.treksoft.kvision.form/-form-panel/get.html b/docs/api/pl.treksoft.kvision.form/-form-panel/get.html new file mode 100644 index 00000000..dd82feb1 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/get.html @@ -0,0 +1,20 @@ + + + +FormPanel.get - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / get
+
+

get

+ +operator fun get(key: String): Any? +

Returns a value of the control of given key.

+

Parameters

+

+key - key identifier of the control

+

Return
+value of the control

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/index.html b/docs/api/pl.treksoft.kvision.form/-form-panel/index.html new file mode 100644 index 00000000..3a853e3d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/index.html @@ -0,0 +1,221 @@ + + + +FormPanel - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel
+
+

FormPanel

+open class FormPanel<K> : SimplePanel +

Bootstrap form component.

+

Constructors

+ + + + + + + +
+

<init>

+
+FormPanel(type: FORMTYPE? = null, classes: Set<String> = setOf(), modelFactory: (Map<String, Any?>) -> K)
+

Properties

+ + + + + + + + + + + +
+

validator

+
+var validator: (Form<K>) -> Boolean? +

Validation function.

+
+

validatorMessage

+
+var validatorMessage: (Form<K>) -> String? +

Function returning validation message.

+
+

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

add

+
+open fun <C : FormControl> add(key: String, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): FormPanel<K> +

Adds a control to the form panel.

+
+

clearData

+
+open fun clearData(): Unit +

Sets the values of all controls to null.

+
+

get

+
+operator fun get(key: String): Any? +

Returns a value of the control of given key.

+
+

getControl

+
+open fun getControl(key: String): FormControl? +

Returns a control of given key.

+
+

getData

+
+open fun getData(): K +

Returns current data model.

+
+

getDataJson

+
+open fun getDataJson(): Json +

Returns current data model as JSON.

+
+

getSnClass

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

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

+
+

remove

+
+open fun remove(key: String): FormPanel<K> +

Removes a control from the form panel.

+
+

removeAll

+
+open fun removeAll(): FormPanel<K> +

Removes all children from the current container.

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

setData

+
+open fun setData(model: K): Unit +

Sets the values of all the controls from the model.

+
+

validate

+
+open fun validate(): Boolean +

Invokes validator function and validates the form.

+
+

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.

+
+

remove

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

Removes given component from the current container.

+
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/remove-all.html b/docs/api/pl.treksoft.kvision.form/-form-panel/remove-all.html new file mode 100644 index 00000000..31ab388f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/remove-all.html @@ -0,0 +1,18 @@ + + + +FormPanel.removeAll - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / removeAll
+
+

removeAll

+ +open fun removeAll(): FormPanel<K> +

Overrides SimplePanel.removeAll

+

Removes all children from the current container.

+

Return
+current container

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/remove.html b/docs/api/pl.treksoft.kvision.form/-form-panel/remove.html new file mode 100644 index 00000000..0e9d4afd --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/remove.html @@ -0,0 +1,20 @@ + + + +FormPanel.remove - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / remove
+
+

remove

+ +open fun remove(key: String): FormPanel<K> +

Removes a control from the form panel.

+

Parameters

+

+key - key identifier of the control

+

Return
+current form panel

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/render.html b/docs/api/pl.treksoft.kvision.form/-form-panel/render.html new file mode 100644 index 00000000..625a9dfb --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/render.html @@ -0,0 +1,18 @@ + + + +FormPanel.render - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / render
+
+

render

+ +protected open fun render(): VNode +

Overrides SimplePanel.render

+

Renders current component as a Snabbdom vnode.

+

Return
+Snabbdom vnode

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/set-data.html b/docs/api/pl.treksoft.kvision.form/-form-panel/set-data.html new file mode 100644 index 00000000..347f7cf1 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/set-data.html @@ -0,0 +1,18 @@ + + + +FormPanel.setData - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / setData
+
+

setData

+ +open fun setData(model: K): Unit +

Sets the values of all the controls from the model.

+

Parameters

+

+model - data model

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/validate.html b/docs/api/pl.treksoft.kvision.form/-form-panel/validate.html new file mode 100644 index 00000000..e1e1be05 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/validate.html @@ -0,0 +1,17 @@ + + + +FormPanel.validate - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / validate
+
+

validate

+ +open fun validate(): Boolean +

Invokes validator function and validates the form.

+

Return
+validation result

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/validator-message.html b/docs/api/pl.treksoft.kvision.form/-form-panel/validator-message.html new file mode 100644 index 00000000..09f629f9 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/validator-message.html @@ -0,0 +1,15 @@ + + + +FormPanel.validatorMessage - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / validatorMessage
+
+

validatorMessage

+ +var validatorMessage: (Form<K>) -> String? +

Function returning validation message.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form-panel/validator.html b/docs/api/pl.treksoft.kvision.form/-form-panel/validator.html new file mode 100644 index 00000000..88081e7c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form-panel/validator.html @@ -0,0 +1,15 @@ + + + +FormPanel.validator - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / validator
+
+

validator

+ +var validator: (Form<K>) -> Boolean? +

Validation function.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form/-init-.html b/docs/api/pl.treksoft.kvision.form/-form/-init-.html new file mode 100644 index 00000000..b703eeca --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form/-init-.html @@ -0,0 +1,24 @@ + + + +Form.<init> - kvision + + + +kvision / pl.treksoft.kvision.form / Form / <init>
+
+

<init>

+ +Form(panel: FormPanel<K>? = null, modelFactory: (Map<String, Any?>) -> K) +

Creates a form with a given modelFactory function

+

Parameters

+

+K - model class type

+

+panel - optional instance of FormPanel

+

+modelFactory - function transforming a Map<String, Any?> to a data model of class K

+

Constructor
+Creates a form with a given modelFactory function

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form/add.html b/docs/api/pl.treksoft.kvision.form/-form/add.html new file mode 100644 index 00000000..c17affd8 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form/add.html @@ -0,0 +1,28 @@ + + + +Form.add - kvision + + + +kvision / pl.treksoft.kvision.form / Form / add
+
+

add

+ +fun <C : FormControl> add(key: String, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K> +

Adds a control to the form.

+

Parameters

+

+key - key identifier of the control

+

+control - the form control

+

+required - determines if the control is required

+

+validatorMessage - optional function returning validation message

+

+validator - optional validation function

+

Return
+current form

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form/clear-data.html b/docs/api/pl.treksoft.kvision.form/-form/clear-data.html new file mode 100644 index 00000000..cc02df05 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form/clear-data.html @@ -0,0 +1,15 @@ + + + +Form.clearData - kvision + + + +kvision / pl.treksoft.kvision.form / Form / clearData
+
+

clearData

+ +fun clearData(): Unit +

Sets the values of all controls to null.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form/get-control.html b/docs/api/pl.treksoft.kvision.form/-form/get-control.html new file mode 100644 index 00000000..66a7180a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form/get-control.html @@ -0,0 +1,20 @@ + + + +Form.getControl - kvision + + + +kvision / pl.treksoft.kvision.form / Form / getControl
+
+

getControl

+ +fun getControl(key: String): FormControl? +

Returns a control of given key.

+

Parameters

+

+key - key identifier of the control

+

Return
+selected control

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form/get-data-json.html b/docs/api/pl.treksoft.kvision.form/-form/get-data-json.html new file mode 100644 index 00000000..4c327ae8 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form/get-data-json.html @@ -0,0 +1,17 @@ + + + +Form.getDataJson - kvision + + + +kvision / pl.treksoft.kvision.form / Form / getDataJson
+
+

getDataJson

+ +fun getDataJson(): Json +

Returns current data model as JSON.

+

Return
+data model as JSON

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form/get-data.html b/docs/api/pl.treksoft.kvision.form/-form/get-data.html new file mode 100644 index 00000000..bc3e0f12 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form/get-data.html @@ -0,0 +1,17 @@ + + + +Form.getData - kvision + + + +kvision / pl.treksoft.kvision.form / Form / getData
+
+

getData

+ +fun getData(): K +

Returns current data model.

+

Return
+data model

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form/get.html b/docs/api/pl.treksoft.kvision.form/-form/get.html new file mode 100644 index 00000000..0a7b70fb --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form/get.html @@ -0,0 +1,20 @@ + + + +Form.get - kvision + + + +kvision / pl.treksoft.kvision.form / Form / get
+
+

get

+ +operator fun get(key: String): Any? +

Returns a value of the control of given key.

+

Parameters

+

+key - key identifier of the control

+

Return
+value of the control

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form/index.html b/docs/api/pl.treksoft.kvision.form/-form/index.html new file mode 100644 index 00000000..678f3d2b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form/index.html @@ -0,0 +1,123 @@ + + + +Form - kvision + + + +kvision / pl.treksoft.kvision.form / Form
+
+

Form

+class Form<K> +

The form definition class. Can be used directly or indirectly inside a FormPanel.

+

Constructors

+ + + + + + + +
+

<init>

+
+Form(panel: FormPanel<K>? = null, modelFactory: (Map<String, Any?>) -> K) +

Creates a form with a given modelFactory function

+
+

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

add

+
+fun <C : FormControl> add(key: String, control: C, required: Boolean = false, validatorMessage: (C) -> String? = null, validator: (C) -> Boolean? = null): Form<K> +

Adds a control to the form.

+
+

clearData

+
+fun clearData(): Unit +

Sets the values of all controls to null.

+
+

get

+
+operator fun get(key: String): Any? +

Returns a value of the control of given key.

+
+

getControl

+
+fun getControl(key: String): FormControl? +

Returns a control of given key.

+
+

getData

+
+fun getData(): K +

Returns current data model.

+
+

getDataJson

+
+fun getDataJson(): Json +

Returns current data model as JSON.

+
+

remove

+
+fun remove(key: String): Form<K> +

Removes a control from the form.

+
+

removeAll

+
+fun removeAll(): Form<K> +

Removes all controls from the form.

+
+

setData

+
+fun setData(model: K): Unit +

Sets the values of all the controls from the model.

+
+

validate

+
+fun validate(): Boolean +

Invokes validator function and validates the form.

+
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form/remove-all.html b/docs/api/pl.treksoft.kvision.form/-form/remove-all.html new file mode 100644 index 00000000..1b454ea5 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form/remove-all.html @@ -0,0 +1,17 @@ + + + +Form.removeAll - kvision + + + +kvision / pl.treksoft.kvision.form / Form / removeAll
+
+

removeAll

+ +fun removeAll(): Form<K> +

Removes all controls from the form.

+

Return
+current form

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form/remove.html b/docs/api/pl.treksoft.kvision.form/-form/remove.html new file mode 100644 index 00000000..4a410154 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form/remove.html @@ -0,0 +1,20 @@ + + + +Form.remove - kvision + + + +kvision / pl.treksoft.kvision.form / Form / remove
+
+

remove

+ +fun remove(key: String): Form<K> +

Removes a control from the form.

+

Parameters

+

+key - key identifier of the control

+

Return
+current form

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form/set-data.html b/docs/api/pl.treksoft.kvision.form/-form/set-data.html new file mode 100644 index 00000000..c4c01463 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form/set-data.html @@ -0,0 +1,18 @@ + + + +Form.setData - kvision + + + +kvision / pl.treksoft.kvision.form / Form / setData
+
+

setData

+ +fun setData(model: K): Unit +

Sets the values of all the controls from the model.

+

Parameters

+

+model - data model

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-form/validate.html b/docs/api/pl.treksoft.kvision.form/-form/validate.html new file mode 100644 index 00000000..7bfbbd87 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-form/validate.html @@ -0,0 +1,17 @@ + + + +Form.validate - kvision + + + +kvision / pl.treksoft.kvision.form / Form / validate
+
+

validate

+ +fun validate(): Boolean +

Invokes validator function and validates the form.

+

Return
+validation result

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-help-block/-init-.html b/docs/api/pl.treksoft.kvision.form/-help-block/-init-.html new file mode 100644 index 00000000..47e893e4 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-help-block/-init-.html @@ -0,0 +1,21 @@ + + + +HelpBlock.<init> - kvision + + + +kvision / pl.treksoft.kvision.form / HelpBlock / <init>
+
+

<init>

+ +HelpBlock(text: String? = null, rich: Boolean = false) +

Parameters

+

+text - the text of the label

+

+rich - determines if text can contain HTML code

+

Constructor
+

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-help-block/index.html b/docs/api/pl.treksoft.kvision.form/-help-block/index.html new file mode 100644 index 00000000..d4b6ea5e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-help-block/index.html @@ -0,0 +1,90 @@ + + + +HelpBlock - kvision + + + +kvision / pl.treksoft.kvision.form / HelpBlock
+
+

HelpBlock

+open class HelpBlock : Tag +

Helper class for Bootstrap help block element.

+

Constructors

+ + + + + + + +
+

<init>

+
+HelpBlock(text: String? = null, rich: Boolean = false)
+

Inherited Properties

+ + + + + + + + + + + + + + + + + + + +
+

align

+
+var align: ALIGN? +

Text align.

+
+

rich

+
+var rich: Boolean +

Determines if text can contain HTML code.

+
+

text

+
+var text: String? +

Text content of the tag.

+
+

type

+
+var type: TAG +

Tag type.

+
+

Inherited Functions

+ + + + + + + + + + + +
+

getSnClass

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

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

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/-l-a-r-g-e.html b/docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/-l-a-r-g-e.html new file mode 100644 index 00000000..4a190656 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/-l-a-r-g-e.html @@ -0,0 +1,26 @@ + + + +INPUTSIZE.LARGE - kvision + + + +kvision / pl.treksoft.kvision.form / INPUTSIZE / LARGE
+
+

LARGE

+ +LARGE +

Inherited Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/-s-m-a-l-l.html b/docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/-s-m-a-l-l.html new file mode 100644 index 00000000..cd143db8 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/-s-m-a-l-l.html @@ -0,0 +1,26 @@ + + + +INPUTSIZE.SMALL - kvision + + + +kvision / pl.treksoft.kvision.form / INPUTSIZE / SMALL
+
+

SMALL

+ +SMALL +

Inherited Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/class-name.html b/docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/class-name.html new file mode 100644 index 00000000..e90d211f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/class-name.html @@ -0,0 +1,14 @@ + + + +INPUTSIZE.className - kvision + + + +kvision / pl.treksoft.kvision.form / INPUTSIZE / className
+
+

className

+ +val className: String + + diff --git a/docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/index.html b/docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/index.html new file mode 100644 index 00000000..9024eb51 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/index.html @@ -0,0 +1,45 @@ + + + +INPUTSIZE - kvision + + + +kvision / pl.treksoft.kvision.form / INPUTSIZE
+
+

INPUTSIZE

+enum class INPUTSIZE +

Input controls sizes.

+

Enum Values

+ + + + + + + + + + + +
+

LARGE

+
+
+

SMALL

+
+
+

Properties

+ + + + + + + +
+

className

+
+val className: String
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-number-form-control/get-value-as-string.html b/docs/api/pl.treksoft.kvision.form/-number-form-control/get-value-as-string.html new file mode 100644 index 00000000..e6dd3e5f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-number-form-control/get-value-as-string.html @@ -0,0 +1,16 @@ + + + +NumberFormControl.getValueAsString - kvision + + + +kvision / pl.treksoft.kvision.form / NumberFormControl / getValueAsString
+
+

getValueAsString

+ +open fun getValueAsString(): String? +

Overrides FormControl.getValueAsString

+

Returns the value of the control as a String.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-number-form-control/get-value.html b/docs/api/pl.treksoft.kvision.form/-number-form-control/get-value.html new file mode 100644 index 00000000..183e7c75 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-number-form-control/get-value.html @@ -0,0 +1,18 @@ + + + +NumberFormControl.getValue - kvision + + + +kvision / pl.treksoft.kvision.form / NumberFormControl / getValue
+
+

getValue

+ +open fun getValue(): Number? +

Overrides FormControl.getValue

+

Returns the value of the control.

+

Return
+the value

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-number-form-control/index.html b/docs/api/pl.treksoft.kvision.form/-number-form-control/index.html new file mode 100644 index 00000000..6e8c53ae --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-number-form-control/index.html @@ -0,0 +1,133 @@ + + + +NumberFormControl - kvision + + + +kvision / pl.treksoft.kvision.form / NumberFormControl
+
+

NumberFormControl

+interface NumberFormControl : FormControl +

Base interface of a form control with a numeric value.

+

Properties

+ + + + + + + +
+

value

+
+abstract var value: Number? +

Numeric value.

+
+

Inherited Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

disabled

+
+abstract var disabled: Boolean +

Determines if the field is disabled.

+
+

flabel

+
+abstract val flabel: FieldLabel +

Form field label.

+
+

input

+
+abstract val input: Component +

The actual input component.

+
+

size

+
+abstract var size: INPUTSIZE? +

Input control size.

+
+

validationInfo

+
+abstract val validationInfo: HelpBlock +

Validation info component.

+
+

validatorError

+
+open var validatorError: String? +

Validator error message.

+
+

Functions

+ + + + + + + + + + + + + + + +
+

getValue

+
+open fun getValue(): Number? +

Returns the value of the control.

+
+

getValueAsString

+
+open fun getValueAsString(): String? +

Returns the value of the control as a String.

+
+

setValue

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

Sets the value of the control.

+
+

Inheritors

+ + + + + + + +
+

Spinner

+
+open class Spinner : SimplePanel, NumberFormControl +

The form field component for spinner control.

+
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-number-form-control/set-value.html b/docs/api/pl.treksoft.kvision.form/-number-form-control/set-value.html new file mode 100644 index 00000000..e1be9a52 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-number-form-control/set-value.html @@ -0,0 +1,19 @@ + + + +NumberFormControl.setValue - kvision + + + +kvision / pl.treksoft.kvision.form / NumberFormControl / setValue
+
+

setValue

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

Overrides FormControl.setValue

+

Sets the value of the control.

+

Parameters

+

+v - the value

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-number-form-control/value.html b/docs/api/pl.treksoft.kvision.form/-number-form-control/value.html new file mode 100644 index 00000000..2ce85ede --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-number-form-control/value.html @@ -0,0 +1,15 @@ + + + +NumberFormControl.value - kvision + + + +kvision / pl.treksoft.kvision.form / NumberFormControl / value
+
+

value

+ +abstract var value: Number? +

Numeric value.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-string-form-control/get-value-as-string.html b/docs/api/pl.treksoft.kvision.form/-string-form-control/get-value-as-string.html new file mode 100644 index 00000000..65693283 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-string-form-control/get-value-as-string.html @@ -0,0 +1,16 @@ + + + +StringFormControl.getValueAsString - kvision + + + +kvision / pl.treksoft.kvision.form / StringFormControl / getValueAsString
+
+

getValueAsString

+ +open fun getValueAsString(): String? +

Overrides FormControl.getValueAsString

+

Returns the value of the control as a String.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-string-form-control/get-value.html b/docs/api/pl.treksoft.kvision.form/-string-form-control/get-value.html new file mode 100644 index 00000000..edfa3c58 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-string-form-control/get-value.html @@ -0,0 +1,18 @@ + + + +StringFormControl.getValue - kvision + + + +kvision / pl.treksoft.kvision.form / StringFormControl / getValue
+
+

getValue

+ +open fun getValue(): String? +

Overrides FormControl.getValue

+

Returns the value of the control.

+

Return
+the value

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-string-form-control/index.html b/docs/api/pl.treksoft.kvision.form/-string-form-control/index.html new file mode 100644 index 00000000..71d8f8b8 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-string-form-control/index.html @@ -0,0 +1,151 @@ + + + +StringFormControl - kvision + + + +kvision / pl.treksoft.kvision.form / StringFormControl
+
+

StringFormControl

+interface StringFormControl : FormControl +

Base interface of a form control with a text value.

+

Properties

+ + + + + + + +
+

value

+
+abstract var value: String? +

Text value.

+
+

Inherited Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

disabled

+
+abstract var disabled: Boolean +

Determines if the field is disabled.

+
+

flabel

+
+abstract val flabel: FieldLabel +

Form field label.

+
+

input

+
+abstract val input: Component +

The actual input component.

+
+

size

+
+abstract var size: INPUTSIZE? +

Input control size.

+
+

validationInfo

+
+abstract val validationInfo: HelpBlock +

Validation info component.

+
+

validatorError

+
+open var validatorError: String? +

Validator error message.

+
+

Functions

+ + + + + + + + + + + + + + + +
+

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.

+
+

setValue

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

Sets the value of the control.

+
+

Inheritors

+ + + + + + + + + + + + + + + +
+

AbstractText

+
+abstract class AbstractText : SimplePanel, StringFormControl +

Base class for form field text components.

+
+

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.

+
+

Select

+
+open class Select : SimplePanel, StringFormControl +

The form field component for Select control.

+
+ + diff --git a/docs/api/pl.treksoft.kvision.form/-string-form-control/set-value.html b/docs/api/pl.treksoft.kvision.form/-string-form-control/set-value.html new file mode 100644 index 00000000..7188abdc --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-string-form-control/set-value.html @@ -0,0 +1,19 @@ + + + +StringFormControl.setValue - kvision + + + +kvision / pl.treksoft.kvision.form / StringFormControl / setValue
+
+

setValue

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

Overrides FormControl.setValue

+

Sets the value of the control.

+

Parameters

+

+v - the value

+ + diff --git a/docs/api/pl.treksoft.kvision.form/-string-form-control/value.html b/docs/api/pl.treksoft.kvision.form/-string-form-control/value.html new file mode 100644 index 00000000..d01cb792 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/-string-form-control/value.html @@ -0,0 +1,15 @@ + + + +StringFormControl.value - kvision + + + +kvision / pl.treksoft.kvision.form / StringFormControl / value
+
+

value

+ +abstract var value: String? +

Text value.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/index.html b/docs/api/pl.treksoft.kvision.form/index.html new file mode 100644 index 00000000..936f6b35 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/index.html @@ -0,0 +1,130 @@ + + + +pl.treksoft.kvision.form - kvision + + + +kvision / pl.treksoft.kvision.form
+
+

Package pl.treksoft.kvision.form

+

Convenient forms implementation, with support for many different input components and easy to define +validation.

+

Types

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

BoolFormControl

+
+interface BoolFormControl : FormControl +

Base interface of a form control with a boolean value.

+
+

DateFormControl

+
+interface DateFormControl : FormControl +

Base interface of a form control with a date value.

+
+

FORMTYPE

+
+enum class FORMTYPE +

Bootstrap form layout options.

+
+

FieldLabel

+
+open class FieldLabel : Tag +

Helper class for HTML label element.

+
+

Form

+
+class Form<K> +

The form definition class. Can be used directly or indirectly inside a FormPanel.

+
+

FormControl

+
+interface FormControl : Component +

Base interface of a form control.

+
+

FormPanel

+
+open class FormPanel<K> : SimplePanel +

Bootstrap form component.

+
+

HelpBlock

+
+open class HelpBlock : Tag +

Helper class for Bootstrap help block element.

+
+

INPUTSIZE

+
+enum class INPUTSIZE +

Input controls sizes.

+
+

NumberFormControl

+
+interface NumberFormControl : FormControl +

Base interface of a form control with a numeric value.

+
+

StringFormControl

+
+interface StringFormControl : FormControl +

Base interface of a form control with a text value.

+
+

Extensions for External Classes

+ + + + + + + +
+

kotlin.collections.Map

+
+
+ + diff --git a/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/as-json.html b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/as-json.html new file mode 100644 index 00000000..79014102 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/as-json.html @@ -0,0 +1,15 @@ + + + +asJson - kvision + + + +kvision / pl.treksoft.kvision.form / kotlin.collections.Map / asJson
+
+

asJson

+ +fun Map<String, Any?>.asJson(): Json +

Returns map values in JSON format.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/bool.html b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/bool.html new file mode 100644 index 00000000..2d14417e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/bool.html @@ -0,0 +1,15 @@ + + + +bool - kvision + + + +kvision / pl.treksoft.kvision.form / kotlin.collections.Map / bool
+
+

bool

+ +fun Map<String, Any?>.bool(key: String): Boolean? +

Returns given value from the map as a Boolean.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/date.html b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/date.html new file mode 100644 index 00000000..05ac67b9 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/date.html @@ -0,0 +1,15 @@ + + + +date - kvision + + + +kvision / pl.treksoft.kvision.form / kotlin.collections.Map / date
+
+

date

+ +fun Map<String, Any?>.date(key: String): Date? +

Returns given value from the map as a Date.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/index.html b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/index.html new file mode 100644 index 00000000..b50e00d3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/index.html @@ -0,0 +1,61 @@ + + + +pl.treksoft.kvision.form.kotlin.collections.Map - kvision + + + +kvision / pl.treksoft.kvision.form / kotlin.collections.Map
+
+

Extensions for kotlin.collections.Map

+ + + + + + + + + + + + + + + + + + + + + + + +
+

asJson

+
+fun Map<String, Any?>.asJson(): Json +

Returns map values in JSON format.

+
+

bool

+
+fun Map<String, Any?>.bool(key: String): Boolean? +

Returns given value from the map as a Boolean.

+
+

date

+
+fun Map<String, Any?>.date(key: String): Date? +

Returns given value from the map as a Date.

+
+

number

+
+fun Map<String, Any?>.number(key: String): Number? +

Returns given value from the map as a Number.

+
+

string

+
+fun Map<String, Any?>.string(key: String): String? +

Returns given value from the map as a String.

+
+ + diff --git a/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/number.html b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/number.html new file mode 100644 index 00000000..6f898d7f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/number.html @@ -0,0 +1,15 @@ + + + +number - kvision + + + +kvision / pl.treksoft.kvision.form / kotlin.collections.Map / number
+
+

number

+ +fun Map<String, Any?>.number(key: String): Number? +

Returns given value from the map as a Number.

+ + diff --git a/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/string.html b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/string.html new file mode 100644 index 00000000..33bc31c6 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form/kotlin.collections.-map/string.html @@ -0,0 +1,15 @@ + + + +string - kvision + + + +kvision / pl.treksoft.kvision.form / kotlin.collections.Map / string
+
+

string

+ +fun Map<String, Any?>.string(key: String): String? +

Returns given value from the map as a String.

+ + -- cgit