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 --- .../-h-o-r-i-z-o-n-t-a-l.html | 14 + .../-b-u-t-t-o-n-s-t-y-p-e/-n-o-n-e.html | 14 + .../-b-u-t-t-o-n-s-t-y-p-e/-v-e-r-t-i-c-a-l.html | 14 + .../-b-u-t-t-o-n-s-t-y-p-e/index.html | 40 ++ .../-f-o-r-c-e-t-y-p-e/-c-e-i-l.html | 14 + .../-f-o-r-c-e-t-y-p-e/-f-l-o-o-r.html | 14 + .../-f-o-r-c-e-t-y-p-e/-n-o-n-e.html | 14 + .../-f-o-r-c-e-t-y-p-e/-r-o-u-n-d.html | 14 + .../-f-o-r-c-e-t-y-p-e/index.html | 47 +++ .../-spinner-input/-init-.html | 33 ++ .../-spinner-input/after-destroy.html | 16 + .../-spinner-input/after-insert.html | 16 + .../-spinner-input/autofocus.html | 15 + .../-spinner-input/buttons-type.html | 15 + .../-spinner-input/change-value.html | 14 + .../-spinner-input/decimals.html | 15 + .../-spinner-input/disabled.html | 15 + .../-spinner-input/force-type.html | 15 + .../-spinner-input/get-sn-attrs.html | 18 + .../-spinner-input/get-sn-class.html | 18 + .../-spinner-input/get-value-as-string.html | 17 + .../-spinner-input/index.html | 452 +++++++++++++++++++++ .../-spinner-input/max.html | 15 + .../-spinner-input/min.html | 15 + .../-spinner-input/name.html | 15 + .../-spinner-input/placeholder.html | 15 + .../-spinner-input/readonly.html | 15 + .../-spinner-input/render.html | 18 + .../-spinner-input/size.html | 15 + .../-spinner-input/spin-down.html | 15 + .../-spinner-input/spin-up.html | 15 + .../-spinner-input/start-value.html | 17 + .../-spinner-input/step.html | 15 + .../-spinner-input/value.html | 15 + .../-spinner/-init-.html | 35 ++ .../-spinner/autofocus.html | 15 + .../-spinner/buttons-type.html | 15 + .../-spinner/decimals.html | 15 + .../-spinner/disabled.html | 22 + .../-spinner/flabel.html | 16 + .../-spinner/force-type.html | 15 + .../-spinner/get-sn-class.html | 18 + .../-spinner/get-value-as-string.html | 16 + .../-spinner/idc.html | 14 + .../-spinner/index.html | 365 +++++++++++++++++ .../-spinner/input.html | 16 + .../-spinner/label.html | 15 + .../-spinner/max.html | 15 + .../-spinner/min.html | 15 + .../-spinner/name.html | 15 + .../-spinner/placeholder.html | 15 + .../-spinner/readonly.html | 15 + .../-spinner/remove-event-listeners.html | 18 + .../-spinner/rich.html | 15 + .../-spinner/set-event-listener.html | 54 +++ .../-spinner/size.html | 22 + .../-spinner/spin-down.html | 15 + .../-spinner/spin-up.html | 15 + .../-spinner/start-value.html | 17 + .../-spinner/step.html | 15 + .../-spinner/validation-info.html | 16 + .../-spinner/value.html | 22 + .../pl.treksoft.kvision.form.spinner/index.html | 54 +++ 63 files changed, 1944 insertions(+) create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-h-o-r-i-z-o-n-t-a-l.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-n-o-n-e.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-v-e-r-t-i-c-a-l.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/index.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-c-e-i-l.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-f-l-o-o-r.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-n-o-n-e.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-r-o-u-n-d.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/index.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/-init-.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-destroy.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-insert.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/autofocus.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/buttons-type.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/change-value.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/decimals.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/disabled.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/force-type.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-sn-attrs.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-sn-class.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-value-as-string.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/max.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/min.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/name.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/placeholder.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/readonly.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/render.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/size.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/spin-down.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/spin-up.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/start-value.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/step.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/value.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/autofocus.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/buttons-type.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/decimals.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/disabled.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/flabel.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/force-type.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/get-sn-class.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/get-value-as-string.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/idc.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/index.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/input.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/label.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/max.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/min.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/name.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/placeholder.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/readonly.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/remove-event-listeners.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/rich.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/set-event-listener.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/size.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/spin-down.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/spin-up.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/start-value.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/step.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/validation-info.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/value.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/index.html (limited to 'docs/api/pl.treksoft.kvision.form.spinner') diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-h-o-r-i-z-o-n-t-a-l.html b/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-h-o-r-i-z-o-n-t-a-l.html new file mode 100644 index 00000000..186b047b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-h-o-r-i-z-o-n-t-a-l.html @@ -0,0 +1,14 @@ + + + +BUTTONSTYPE.HORIZONTAL - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / BUTTONSTYPE / HORIZONTAL
+
+

HORIZONTAL

+ +HORIZONTAL + + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-n-o-n-e.html b/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-n-o-n-e.html new file mode 100644 index 00000000..94d755a9 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-n-o-n-e.html @@ -0,0 +1,14 @@ + + + +BUTTONSTYPE.NONE - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / BUTTONSTYPE / NONE
+
+

NONE

+ +NONE + + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-v-e-r-t-i-c-a-l.html b/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-v-e-r-t-i-c-a-l.html new file mode 100644 index 00000000..e9f5828b --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/-v-e-r-t-i-c-a-l.html @@ -0,0 +1,14 @@ + + + +BUTTONSTYPE.VERTICAL - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / BUTTONSTYPE / VERTICAL
+
+

VERTICAL

+ +VERTICAL + + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/index.html b/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/index.html new file mode 100644 index 00000000..bbb4f382 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-b-u-t-t-o-n-s-t-y-p-e/index.html @@ -0,0 +1,40 @@ + + + +BUTTONSTYPE - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / BUTTONSTYPE
+
+

BUTTONSTYPE

+enum class BUTTONSTYPE +

Spinner buttons layout types.

+

Enum Values

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

NONE

+
+
+

HORIZONTAL

+
+
+

VERTICAL

+
+
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-c-e-i-l.html b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-c-e-i-l.html new file mode 100644 index 00000000..664b5f16 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-c-e-i-l.html @@ -0,0 +1,14 @@ + + + +FORCETYPE.CEIL - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / FORCETYPE / CEIL
+
+

CEIL

+ +CEIL + + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-f-l-o-o-r.html b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-f-l-o-o-r.html new file mode 100644 index 00000000..abf13604 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-f-l-o-o-r.html @@ -0,0 +1,14 @@ + + + +FORCETYPE.FLOOR - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / FORCETYPE / FLOOR
+
+

FLOOR

+ +FLOOR + + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-n-o-n-e.html b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-n-o-n-e.html new file mode 100644 index 00000000..e4b59856 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-n-o-n-e.html @@ -0,0 +1,14 @@ + + + +FORCETYPE.NONE - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / FORCETYPE / NONE
+
+

NONE

+ +NONE + + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-r-o-u-n-d.html b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-r-o-u-n-d.html new file mode 100644 index 00000000..034bca94 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/-r-o-u-n-d.html @@ -0,0 +1,14 @@ + + + +FORCETYPE.ROUND - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / FORCETYPE / ROUND
+
+

ROUND

+ +ROUND + + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/index.html b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/index.html new file mode 100644 index 00000000..2b37f391 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-f-o-r-c-e-t-y-p-e/index.html @@ -0,0 +1,47 @@ + + + +FORCETYPE - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / FORCETYPE
+
+

FORCETYPE

+enum class FORCETYPE +

Spinner force rounding types.

+

Enum Values

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

NONE

+
+
+

ROUND

+
+
+

FLOOR

+
+
+

CEIL

+
+
+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/-init-.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/-init-.html new file mode 100644 index 00000000..f4321be0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/-init-.html @@ -0,0 +1,33 @@ + + + +SpinnerInput.<init> - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / <init>
+
+

<init>

+ +SpinnerInput(value: Number? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: BUTTONSTYPE = BUTTONSTYPE.VERTICAL, forceType: FORCETYPE = FORCETYPE.NONE, classes: Set<String> = setOf()) +

Parameters

+

+value - spinner value

+

+min - minimal value (default 0)

+

+max - maximal value (default 100)

+

+step - step value (default 1)

+

+decimals - number of decimal digits (default 0)

+

+buttonsType - spinner buttons type

+

+forceType - spinner force rounding type

+

+classes - a set of CSS class names

+

Constructor
+

+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-destroy.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-destroy.html new file mode 100644 index 00000000..c3eee4ed --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-destroy.html @@ -0,0 +1,16 @@ + + + +SpinnerInput.afterDestroy - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / afterDestroy
+
+

afterDestroy

+ +protected open fun afterDestroy(): Unit +

Overrides Widget.afterDestroy

+

Method called after destroying Snabbdom vnode.

+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-insert.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-insert.html new file mode 100644 index 00000000..433c0858 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/after-insert.html @@ -0,0 +1,16 @@ + + + +SpinnerInput.afterInsert - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / afterInsert
+
+

afterInsert

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

Overrides Widget.afterInsert

+

Method called after inserting Snabbdom vnode into the DOM.

+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/autofocus.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/autofocus.html new file mode 100644 index 00000000..aad1375d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/autofocus.html @@ -0,0 +1,15 @@ + + + +SpinnerInput.autofocus - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / autofocus
+
+

autofocus

+ +var autofocus: Boolean? +

Determines if the spinner is automatically focused.

+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/buttons-type.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/buttons-type.html new file mode 100644 index 00000000..1949c000 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/buttons-type.html @@ -0,0 +1,15 @@ + + + +SpinnerInput.buttonsType - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / buttonsType
+
+

buttonsType

+ +var buttonsType: BUTTONSTYPE +

Spinner buttons type.

+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/change-value.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/change-value.html new file mode 100644 index 00000000..9c778406 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/change-value.html @@ -0,0 +1,14 @@ + + + +SpinnerInput.changeValue - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / changeValue
+
+

changeValue

+ +protected open fun changeValue(): Unit + + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/decimals.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/decimals.html new file mode 100644 index 00000000..8e2bee7e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/decimals.html @@ -0,0 +1,15 @@ + + + +SpinnerInput.decimals - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / decimals
+
+

decimals

+ +var decimals: Int +

Number of decimal digits value.

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

disabled

+ +var disabled: Boolean +

Determines if the field is disabled.

+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/force-type.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/force-type.html new file mode 100644 index 00000000..632008e8 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/force-type.html @@ -0,0 +1,15 @@ + + + +SpinnerInput.forceType - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / forceType
+
+

forceType

+ +var forceType: FORCETYPE +

Spinner force rounding type.

+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-sn-attrs.html new file mode 100644 index 00000000..7cc57aff --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +SpinnerInput.getSnAttrs - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / 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.spinner/-spinner-input/get-sn-class.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-sn-class.html new file mode 100644 index 00000000..a16c4e8e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-sn-class.html @@ -0,0 +1,18 @@ + + + +SpinnerInput.getSnClass - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / 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.spinner/-spinner-input/get-value-as-string.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-value-as-string.html new file mode 100644 index 00000000..7dbe23c7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/get-value-as-string.html @@ -0,0 +1,17 @@ + + + +SpinnerInput.getValueAsString - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / getValueAsString
+
+

getValueAsString

+ +fun getValueAsString(): String? +

Returns the value of the spinner as a String.

+

Return
+value as a String

+ + diff --git a/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html new file mode 100644 index 00000000..0c718c6c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html @@ -0,0 +1,452 @@ + + + +SpinnerInput - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / SpinnerInput
+
+

SpinnerInput

+open class SpinnerInput : Widget +

The basic component for spinner control.

+

Constructors

+ + + + + + + +
+

<init>

+
+SpinnerInput(value: Number? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: BUTTONSTYPE = BUTTONSTYPE.VERTICAL, forceType: FORCETYPE = FORCETYPE.NONE, classes: Set<String> = setOf())
+

Properties

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

autofocus

+
+var autofocus: Boolean? +

Determines if the spinner is automatically focused.

+
+

buttonsType

+
+var buttonsType: BUTTONSTYPE +

Spinner buttons type.

+
+

decimals

+
+var decimals: Int +

Number of decimal digits value.

+
+

disabled

+
+var disabled: Boolean +

Determines if the field is disabled.

+
+

forceType

+
+var forceType: FORCETYPE +

Spinner force rounding type.

+
+

max

+
+var max: Int +

Maximal value.

+
+

min

+
+var min: Int +

Minimal value.

+
+

name

+
+var name: String? +

The name attribute of the generated HTML input element.

+
+

placeholder

+
+var placeholder: String? +

The placeholder for the spinner input.

+
+

readonly

+
+var readonly: Boolean? +

Determines if the spinner is read-only.

+
+

size

+
+var size: INPUTSIZE? +

The size of the input.

+
+

startValue

+
+var startValue: Number? +

The value attribute of the generated HTML input element.

+
+

step

+
+var step: Double +

Step value.

+
+

value

+
+var value: Number? +

Spinner value.

+
+

Inherited Properties

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

id

+
+var id: String? +

An ID attribute of generated HTML element.

+
+

parent

+
+open var parent: Component? +

Parent of the current component.

+
+

role

+
+var role: String? +

A role attribute of generated HTML element.

+
+

title

+
+var title: String? +

A title attribute of generated HTML element.

+
+

visible

+
+open var visible: Boolean +

Visibility state of the current component.

+
+

Functions

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

afterDestroy

+
+open fun afterDestroy(): Unit +

Method called after destroying Snabbdom vnode.

+
+

afterInsert

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

Method called after inserting Snabbdom vnode into the DOM.

+
+

changeValue

+
+open fun changeValue(): Unit
+

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.

+
+

getValueAsString

+
+fun getValueAsString(): String? +

Returns the value of the spinner as a String.

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

spinDown

+
+fun spinDown(): SpinnerInput +

Change value in minus.

+
+

spinUp

+
+fun spinUp(): SpinnerInput +

Change value in plus.

+
+

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.

+
+

afterPostpatch

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

Method called after updating Snabbdom vnode.

+
+

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: