From 9d35bb1e3d8186228cc409faa6d681624f20e9cd Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 26 Nov 2019 19:53:45 +0100 Subject: API documentation for KVision 2.4.0 --- .../-check-box-input/index.html | 7 ++++ .../-check-box/index.html | 11 +++++- .../-check-box/set-event-listener.html | 5 ++- .../-check-input/index.html | 45 +++++++++++++++++++--- .../-radio-group-input/index.html | 9 ++++- .../-radio-group/index.html | 9 ++++- .../-radio-input/index.html | 7 ++++ .../-radio/index.html | 11 +++++- .../-radio/set-event-listener.html | 5 ++- 9 files changed, 96 insertions(+), 13 deletions(-) (limited to 'api/pl.treksoft.kvision.form.check') diff --git a/api/pl.treksoft.kvision.form.check/-check-box-input/index.html b/api/pl.treksoft.kvision.form.check/-check-box-input/index.html index 72ed9ad2..4bdd7137 100644 --- a/api/pl.treksoft.kvision.form.check/-check-box-input/index.html +++ b/api/pl.treksoft.kvision.form.check/-check-box-input/index.html @@ -225,6 +225,13 @@ +

onEvent

+ + +fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget + + +

removeBsBgColor

diff --git a/api/pl.treksoft.kvision.form.check/-check-box/index.html b/api/pl.treksoft.kvision.form.check/-check-box/index.html index 6b242e3c..12a6899d 100644 --- a/api/pl.treksoft.kvision.form.check/-check-box/index.html +++ b/api/pl.treksoft.kvision.form.check/-check-box/index.html @@ -184,7 +184,7 @@ open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget

Sets an event listener for current widget, keeping the actual type of component.

-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget

Sets an event listener for current widget.

@@ -669,6 +669,13 @@ +

onEvent

+ + +fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget + + +

p

@@ -983,7 +990,7 @@

tabulatorRemote

-fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?, String?) -> <ERROR CLASS><T>, stateFunction: (() -> String)? = null, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E>

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form.check/-check-box/set-event-listener.html b/api/pl.treksoft.kvision.form.check/-check-box/set-event-listener.html index a47d91c9..98d604ac 100644 --- a/api/pl.treksoft.kvision.form.check/-check-box/set-event-listener.html +++ b/api/pl.treksoft.kvision.form.check/-check-box/set-event-listener.html @@ -31,8 +31,11 @@ } }

-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget

Overrides Widget.setEventListener

+
+Deprecated: Use onEvent extension function instead.
+

Sets an event listener for current widget.

Parameters

diff --git a/api/pl.treksoft.kvision.form.check/-check-input/index.html b/api/pl.treksoft.kvision.form.check/-check-input/index.html index 1ceb0a69..ca7c835c 100644 --- a/api/pl.treksoft.kvision.form.check/-check-input/index.html +++ b/api/pl.treksoft.kvision.form.check/-check-input/index.html @@ -287,7 +287,14 @@ open fun addCssClass(css: String): Widget

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

-open fun addCssClass(css: Style): Widget + + + + +

addCssStyle

+ + +open fun addCssStyle(css: Style): Widget

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

@@ -298,7 +305,14 @@ open fun addSurroundingCssClass(css: String): Widget

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

-open fun addSurroundingCssClass(css: Style): Widget + + + + +

addSurroundingCssStyle

+ + +open fun addSurroundingCssStyle(css: Style): Widget

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

@@ -477,7 +491,14 @@ open fun removeCssClass(css: String): Widget

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

-open fun removeCssClass(css: Style): Widget + + + + +

removeCssStyle

+ + +open fun removeCssStyle(css: Style): Widget

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

@@ -497,7 +518,14 @@ open fun removeSurroundingCssClass(css: String): Widget

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

-open fun removeSurroundingCssClass(css: Style): Widget + + + + +

removeSurroundingCssStyle

+ + +open fun removeSurroundingCssStyle(css: Style): Widget

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

@@ -555,7 +583,7 @@ open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget

Sets an event listener for current widget, keeping the actual type of component.

-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget

Sets an event listener for current widget.

@@ -669,6 +697,13 @@ +

onEvent

+ + +fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget + + +

removeBsBgColor

diff --git a/api/pl.treksoft.kvision.form.check/-radio-group-input/index.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/index.html index 8c24be14..072b6d2c 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group-input/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/index.html @@ -561,6 +561,13 @@ +

onEvent

+ + +fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget + + +

p

@@ -875,7 +882,7 @@

tabulatorRemote

-fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?, String?) -> <ERROR CLASS><T>, stateFunction: (() -> String)? = null, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E>

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/index.html b/api/pl.treksoft.kvision.form.check/-radio-group/index.html index 2bd00e21..6181cba1 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group/index.html @@ -651,6 +651,13 @@ +

onEvent

+ + +fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget + + +

p

@@ -965,7 +972,7 @@

tabulatorRemote

-fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?, String?) -> <ERROR CLASS><T>, stateFunction: (() -> String)? = null, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E>

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form.check/-radio-input/index.html b/api/pl.treksoft.kvision.form.check/-radio-input/index.html index 7a246d67..d6777dc7 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-input/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio-input/index.html @@ -225,6 +225,13 @@ +

onEvent

+ + +fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget + + +

removeBsBgColor

diff --git a/api/pl.treksoft.kvision.form.check/-radio/index.html b/api/pl.treksoft.kvision.form.check/-radio/index.html index 8e76f0b7..a4a76460 100644 --- a/api/pl.treksoft.kvision.form.check/-radio/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio/index.html @@ -193,7 +193,7 @@ open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget

Sets an event listener for current widget, keeping the actual type of component.

-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget

Sets an event listener for current widget.

@@ -678,6 +678,13 @@ +

onEvent

+ + +fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget + + +

p

@@ -992,7 +999,7 @@

tabulatorRemote

-fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?, String?) -> <ERROR CLASS><T>, stateFunction: (() -> String)? = null, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E>

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form.check/-radio/set-event-listener.html b/api/pl.treksoft.kvision.form.check/-radio/set-event-listener.html index db72a974..7e9af724 100644 --- a/api/pl.treksoft.kvision.form.check/-radio/set-event-listener.html +++ b/api/pl.treksoft.kvision.form.check/-radio/set-event-listener.html @@ -31,8 +31,11 @@ } }

-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget

Overrides Widget.setEventListener

+
+Deprecated: Use onEvent extension function instead.
+

Sets an event listener for current widget.

Parameters

-- cgit