From 806edfceeefe7fda47924f97237974e99fe28a02 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 2 Apr 2018 01:35:47 +0200 Subject: API documentantion update --- .../-spinner-input/disabled.html | 3 ++- .../-spinner-input/index.html | 19 +++++++++---- .../-spinner-input/name.html | 3 ++- .../-spinner-input/size.html | 3 ++- .../-spinner/-init-.html | 8 +++--- .../-spinner/disabled.html | 16 ----------- .../-spinner/index.html | 31 ++-------------------- .../-spinner/name.html | 15 ----------- .../-spinner/size.html | 16 ----------- .../-spinner/spinner.html | 4 +-- api/pl.treksoft.kvision.form.spinner/index.html | 2 +- 11 files changed, 30 insertions(+), 90 deletions(-) delete mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/disabled.html delete mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/name.html delete mode 100644 api/pl.treksoft.kvision.form.spinner/-spinner/size.html (limited to 'api/pl.treksoft.kvision.form.spinner') diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner-input/disabled.html b/api/pl.treksoft.kvision.form.spinner/-spinner-input/disabled.html index 2ff742af..e77813f8 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner-input/disabled.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner-input/disabled.html @@ -9,7 +9,8 @@

disabled

-var disabled: Boolean +open var disabled: Boolean +

Overrides FormInput.disabled

Determines if the field is disabled.

Getter

Determines if the field is disabled.

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html b/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html index 19960eb1..a032fce2 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.spinner / SpinnerInput

SpinnerInput

-open class SpinnerInput : Widget +open class SpinnerInput : Widget, FormInput

The basic component for spinner control.

Constructors

@@ -57,7 +57,7 @@

disabled

@@ -93,7 +93,7 @@

name

@@ -120,7 +120,7 @@

size

@@ -179,7 +179,7 @@

parent

@@ -455,6 +455,15 @@ + + + + +Spinner(value: Number? = null, name: String? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false)
-var disabled: Boolean +open var disabled: Boolean

Determines if the field is disabled.

-var name: String? +open var name: String?

The name attribute of the generated HTML input element.

-var size: InputSize? +open var size: InputSize?

The size of the input.

-open var parent: Component? +open var parent: Container?

Parent of the current component.

+

setContextMenu

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

Sets context menu for the current widget.

+

setDragDropData

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner-input/name.html b/api/pl.treksoft.kvision.form.spinner/-spinner-input/name.html index 5f849941..2006819a 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner-input/name.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner-input/name.html @@ -9,7 +9,8 @@

name

-var name: String? +open var name: String? +

Overrides FormInput.name

The name attribute of the generated HTML input element.

Getter

The name attribute of the generated HTML input element.

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner-input/size.html b/api/pl.treksoft.kvision.form.spinner/-spinner-input/size.html index 247d92c8..47dc6232 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner-input/size.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner-input/size.html @@ -9,7 +9,8 @@

size

-var size: InputSize? +open var size: InputSize? +

Overrides FormInput.size

The size of the input.

Getter

The size of the input.

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html b/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html index 7772535c..52232120 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/-init-.html @@ -8,11 +8,13 @@ kvision / pl.treksoft.kvision.form.spinner / Spinner / <init>

<init>

- -Spinner(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, label: String? = null, rich: Boolean = false) + +Spinner(value: Number? = null, name: String? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false)

Parameters

value - spinner value

+

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

min - minimal value (default 0)

@@ -28,7 +30,7 @@

label - label text bound to the input element

-rich - determines if label can contain HTML code

+rich - determines if label can contain HTML code

Constructor

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/disabled.html b/api/pl.treksoft.kvision.form.spinner/-spinner/disabled.html deleted file mode 100644 index 1e94e006..00000000 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/disabled.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Spinner.disabled - kvision - - - -kvision / pl.treksoft.kvision.form.spinner / Spinner / disabled
-
-

disabled

- -open var disabled: Boolean -

Overrides FormControl.disabled

-

Determines if the field is disabled.

- - diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/index.html b/api/pl.treksoft.kvision.form.spinner/-spinner/index.html index cf1586da..f2d8bda6 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, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false)
@@ -54,15 +54,6 @@ -

disabled

- - -open var disabled: Boolean -

Determines if the field is disabled.

- - - -

flabel

@@ -124,15 +115,6 @@ -

name

- - -var name: String? -

The name attribute of the generated HTML input element.

- - - -

placeholder

@@ -160,15 +142,6 @@ -

size

- - -open var size: InputSize? -

Input control size.

- - - -

startValue

@@ -387,7 +360,7 @@

spinner

-fun Container.spinner(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, label: String? = null, rich: Boolean = false, init: Spinner.() -> Unit = null): Spinner +fun Container.spinner(value: Number? = null, name: String? = null, min: Int = 0, max: Int = DEFAULT_MAX, 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

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/name.html b/api/pl.treksoft.kvision.form.spinner/-spinner/name.html deleted file mode 100644 index 06ffb6ab..00000000 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/name.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -Spinner.name - kvision - - - -kvision / pl.treksoft.kvision.form.spinner / Spinner / name
-
-

name

- -var name: String? -

The name attribute of the generated HTML input element.

- - diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/size.html b/api/pl.treksoft.kvision.form.spinner/-spinner/size.html deleted file mode 100644 index 7cf62c12..00000000 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/size.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -Spinner.size - kvision - - - -kvision / pl.treksoft.kvision.form.spinner / Spinner / size
-
-

size

- -open var size: InputSize? -

Overrides FormControl.size

-

Input control size.

- - diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/spinner.html b/api/pl.treksoft.kvision.form.spinner/-spinner/spinner.html index d9e2af00..ee16eaa9 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/spinner.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/spinner.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.spinner / Spinner / spinner

spinner

- -fun Container.spinner(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, label: String? = null, rich: Boolean = false, init: Spinner.() -> Unit = null): Spinner + +fun Container.spinner(value: Number? = null, name: String? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0,