From 61545b3f1fb1844af350d187edd26285e98f0466 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 26 Feb 2018 14:21:46 +0100 Subject: API documentation update --- .../pl.treksoft.kvision.html/-button/-init-.html | 4 +- .../pl.treksoft.kvision.html/-button/block.html | 6 +++ .../pl.treksoft.kvision.html/-button/button.html | 4 +- .../pl.treksoft.kvision.html/-button/disabled.html | 6 +++ .../api/pl.treksoft.kvision.html/-button/icon.html | 6 +++ .../pl.treksoft.kvision.html/-button/image.html | 6 +++ .../pl.treksoft.kvision.html/-button/index.html | 54 ++++++++++++++++++++-- .../api/pl.treksoft.kvision.html/-button/size.html | 8 +++- .../pl.treksoft.kvision.html/-button/style.html | 8 +++- .../api/pl.treksoft.kvision.html/-button/text.html | 6 +++ 10 files changed, 98 insertions(+), 10 deletions(-) (limited to 'docs/api/pl.treksoft.kvision.html/-button') diff --git a/docs/api/pl.treksoft.kvision.html/-button/-init-.html b/docs/api/pl.treksoft.kvision.html/-button/-init-.html index 62d74d26..94e82aba 100644 --- a/docs/api/pl.treksoft.kvision.html/-button/-init-.html +++ b/docs/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, disabled: Boolean = false, classes: Set<String> = setOf())

Parameters

text - button label

diff --git a/docs/api/pl.treksoft.kvision.html/-button/block.html b/docs/api/pl.treksoft.kvision.html/-button/block.html index a9aa1d5d..dab9f6c3 100644 --- a/docs/api/pl.treksoft.kvision.html/-button/block.html +++ b/docs/api/pl.treksoft.kvision.html/-button/block.html @@ -11,5 +11,11 @@ var block: Boolean

Determines if the button takes all the space horizontally.

+

Getter
+

Determines if the button takes all the space horizontally.

+

+

Setter
+

Determines if the button takes all the space horizontally.

+

diff --git a/docs/api/pl.treksoft.kvision.html/-button/button.html b/docs/api/pl.treksoft.kvision.html/-button/button.html index c1ebc788..95028d1d 100644 --- a/docs/api/pl.treksoft.kvision.html/-button/button.html +++ b/docs/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, 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/docs/api/pl.treksoft.kvision.html/-button/disabled.html b/docs/api/pl.treksoft.kvision.html/-button/disabled.html index 9bea66b2..6f924849 100644 --- a/docs/api/pl.treksoft.kvision.html/-button/disabled.html +++ b/docs/api/pl.treksoft.kvision.html/-button/disabled.html @@ -11,5 +11,11 @@ var disabled: Boolean

Determines if button is disabled.

+

Getter
+

Determines if button is disabled.

+

+

Setter
+

Determines if button is disabled.

+

diff --git a/docs/api/pl.treksoft.kvision.html/-button/icon.html b/docs/api/pl.treksoft.kvision.html/-button/icon.html index 157dd940..12fe9900 100644 --- a/docs/api/pl.treksoft.kvision.html/-button/icon.html +++ b/docs/api/pl.treksoft.kvision.html/-button/icon.html @@ -11,5 +11,11 @@ var icon: String?

Button icon.

+

Getter
+

Button icon.

+

+

Setter
+

Button icon.

+

diff --git a/docs/api/pl.treksoft.kvision.html/-button/image.html b/docs/api/pl.treksoft.kvision.html/-button/image.html index b9ce10c3..cdd1a4f2 100644 --- a/docs/api/pl.treksoft.kvision.html/-button/image.html +++ b/docs/api/pl.treksoft.kvision.html/-button/image.html @@ -11,5 +11,11 @@ var image: ResString?

Button image.

+

Getter
+

Button image.

+

+

Setter
+

Button image.

+

diff --git a/docs/api/pl.treksoft.kvision.html/-button/index.html b/docs/api/pl.treksoft.kvision.html/-button/index.html index afbe0fcf..b460f031 100644 --- a/docs/api/pl.treksoft.kvision.html/-button/index.html +++ b/docs/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, disabled: Boolean = false, classes: Set<String> = setOf()) @@ -66,7 +66,7 @@

size

-var size: BUTTONSIZE? +var size: ButtonSize?

Button size.

@@ -75,7 +75,7 @@

style

-var style: BUTTONSTYLE +var style: ButtonStyle

Button style.

@@ -95,6 +95,15 @@ +

draggable

+ + +var draggable: Boolean? +

Determines if the current widget is draggable.

+ + + +

id

@@ -240,6 +249,15 @@ +

clearDragDropData

+ + +open fun clearDragDropData(): Unit +

Clears D&D data for the current widget. It also makes it not draggable.

+ + + +

getElement

@@ -331,6 +349,34 @@ +

setDragDropData

+ + +open fun setDragDropData(format: String, data: String): Unit +

Sets D&D data for the current widget. It also makes it draggable.

+ + + + +

setDropTarget

+ + +open fun setDropTarget(format: String, callback: (DragEvent) -> Unit): Unit
+open fun setDropTarget(formats: Set<String>? = null, callback: (DragEvent) -> Unit): Unit +

Sets the current widget as a D&D drop target.

+ + + + +

setDropTargetData

+ + +open fun setDropTargetData(format: String, callback: (String?) -> Unit): Unit +

Sets the current widget as a D&D drop target with helper callback accepting String data.

+ + + +

setEventListener

@@ -368,7 +414,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, disabled: Boolean = false, classes: Set<String> = setOf(), init: Button.() -> Unit = null): Button

DSL builder extension function.

diff --git a/docs/api/pl.treksoft.kvision.html/-button/size.html b/docs/api/pl.treksoft.kvision.html/-button/size.html index aece9674..1e7dd9e0 100644 --- a/docs/api/pl.treksoft.kvision.html/-button/size.html +++ b/docs/api/pl.treksoft.kvision.html/-button/size.html @@ -9,7 +9,13 @@

size

-var size: BUTTONSIZE? +var size: ButtonSize?

Button size.

+

Getter
+

Button size.

+

+

Setter
+

Button size.

+

diff --git a/docs/api/pl.treksoft.kvision.html/-button/style.html b/docs/api/pl.treksoft.kvision.html/-button/style.html index 15408dc0..53caf7b6 100644 --- a/docs/api/pl.treksoft.kvision.html/-button/style.html +++ b/docs/api/pl.treksoft.kvision.html/-button/style.html @@ -9,7 +9,13 @@

style

-var style: BUTTONSTYLE +var style: ButtonStyle

Button style.

+

Getter
+

Button style.

+

+

Setter
+

Button style.

+

diff --git a/docs/api/pl.treksoft.kvision.html/-button/text.html b/docs/api/pl.treksoft.kvision.html/-button/text.html index 603a812b..6c2324b2 100644 --- a/docs/api/pl.treksoft.kvision.html/-button/text.html +++ b/docs/api/pl.treksoft.kvision.html/-button/text.html @@ -11,5 +11,11 @@ var text: String

Button label.

+

Getter
+

Button label.

+

+

Setter
+

Button label.

+

-- cgit