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 --- api/pl.treksoft.kvision.html/-button/-init-.html | 4 ++-- api/pl.treksoft.kvision.html/-button/button.html | 4 ++-- api/pl.treksoft.kvision.html/-button/index.html | 24 +++++++++++++++++++++--- api/pl.treksoft.kvision.html/-button/type.html | 21 +++++++++++++++++++++ 4 files changed, 46 insertions(+), 7 deletions(-) create mode 100644 api/pl.treksoft.kvision.html/-button/type.html (limited to 'api/pl.treksoft.kvision.html/-button') diff --git a/api/pl.treksoft.kvision.html/-button/-init-.html b/api/pl.treksoft.kvision.html/-button/-init-.html index 94e82aba..35134291 100644 --- a/api/pl.treksoft.kvision.html/-button/-init-.html +++ b/api/pl.treksoft.kvision.html/-button/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.html / Button / <init>

<init>

- -Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf()) + +Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf())

Parameters

text - button label

diff --git a/api/pl.treksoft.kvision.html/-button/button.html b/api/pl.treksoft.kvision.html/-button/button.html index 95028d1d..9d26cdc1 100644 --- a/api/pl.treksoft.kvision.html/-button/button.html +++ b/api/pl.treksoft.kvision.html/-button/button.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.html / Button / button

button

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

DSL builder extension function.

It takes the same parameters as the constructor of the built component.

diff --git a/api/pl.treksoft.kvision.html/-button/index.html b/api/pl.treksoft.kvision.html/-button/index.html index b460f031..465b69a4 100644 --- a/api/pl.treksoft.kvision.html/-button/index.html +++ b/api/pl.treksoft.kvision.html/-button/index.html @@ -18,7 +18,7 @@

<init>

-Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf()) +Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf()) @@ -88,6 +88,15 @@

Button label.

+ + +

type

+ + +var type: ButtonType +

Button types.

+ +

Inherited Properties

@@ -116,7 +125,7 @@

parent

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

Parent of the current component.

@@ -349,6 +358,15 @@ +

setContextMenu

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

Sets context menu for the current widget.

+ + + +

setDragDropData

@@ -414,7 +432,7 @@

button

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

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.html/-button/type.html b/api/pl.treksoft.kvision.html/-button/type.html new file mode 100644 index 00000000..697f0c9f --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button/type.html @@ -0,0 +1,21 @@ + + + +Button.type - kvision + + + +kvision / pl.treksoft.kvision.html / Button / type
+
+

type

+ +var type: ButtonType +

Button types.

+

Getter
+

Button types.

+

+

Setter
+

Button types.

+

+ + -- cgit