From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- .../-spinner/-init-.html | 4 +- .../-spinner/button-style.html | 15 + .../-spinner/buttons-type.html | 4 +- .../-spinner/index.html | 815 ++++++++++++++++++++- .../-spinner/invalid-feedback.html | 16 + .../-spinner/spinner.html | 16 - .../-spinner/style-for-horizontal-form-panel.html | 16 + .../-spinner/validation-info.html | 16 - .../-spinner/validator-error.html | 16 + 9 files changed, 868 insertions(+), 50 deletions(-) create mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/button-style.html create mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/invalid-feedback.html delete mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/spinner.html create mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/style-for-horizontal-form-panel.html delete mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/validation-info.html create mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/validator-error.html (limited to 'api/pl.treksoft.kvision.form.spinner/-spinner') diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html b/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html index c1b6525e..f89e5120 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.spinner / Spinner / <init>

<init>

- -Spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false) + +Spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false)

Parameters

value - spinner value

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/button-style.html b/api/pl.treksoft.kvision.form.spinner/-spinner/button-style.html new file mode 100644 index 00000000..238b671a --- /dev/null +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/button-style.html @@ -0,0 +1,15 @@ + + + +Spinner.buttonStyle - kvision + + + +kvision / pl.treksoft.kvision.form.spinner / Spinner / buttonStyle
+
+

buttonStyle

+ +var buttonStyle: ButtonStyle? +

The style of the up/down buttons.

+ + diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/buttons-type.html b/api/pl.treksoft.kvision.form.spinner/-spinner/buttons-type.html index 6292856b..23095f85 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/buttons-type.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/buttons-type.html @@ -9,7 +9,7 @@

buttonsType

-var buttonsType: ButtonsType -

Spinner buttons type.

+val buttonsType: ButtonsType +

spinner buttons type

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/index.html b/api/pl.treksoft.kvision.form.spinner/-spinner/index.html index c1000c14..9da9bab9 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/index.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/index.html @@ -18,7 +18,7 @@

<init>

-Spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false) +Spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false) @@ -36,11 +36,20 @@ +

buttonStyle

+ + +var buttonStyle: ButtonStyle? +

The style of the up/down buttons.

+ + + +

buttonsType

-var buttonsType: ButtonsType -

Spinner buttons type.

+val buttonsType: ButtonsType +

spinner buttons type

@@ -88,6 +97,15 @@ +

invalidFeedback

+ + +val invalidFeedback: InvalidFeedback +

Invalid feedback component.

+ + + +

label

@@ -160,11 +178,11 @@ -

validationInfo

+

validatorError

-val validationInfo: HelpBlock -

Validation info component.

+open var validatorError: String? +

Validator error message.

@@ -178,6 +196,18 @@ +

Inherited Properties

+ + + + + + + +
+

children

+
+val children: MutableList<Component>

Functions

@@ -255,6 +285,15 @@

Change value in plus.

+ + + +
+

styleForHorizontalFormPanel

+
+open fun styleForHorizontalFormPanel(): Unit +

Style form control element for horizontal form panel.

+

Inherited Functions

@@ -352,23 +391,116 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-

spinner

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

-fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

bold

+
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +

DSL builder extension function.

+
+

button

+
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +

DSL builder extension function.

+
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

canvas

+
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +

DSL builder extension function.

+
+

chart

+
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +

DSL builder extension function.

+
+

checkBox

+
+fun Container.checkBox(value: Boolean = false, name: String? = null, label: