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.modal/-alert/-init-.html | 6 ++-- .../pl.treksoft.kvision.modal/-alert/align.html | 2 +- .../pl.treksoft.kvision.modal/-alert/index.html | 37 +++++++++++++++++++--- .../api/pl.treksoft.kvision.modal/-alert/show.html | 6 ++-- 4 files changed, 39 insertions(+), 12 deletions(-) (limited to 'docs/api/pl.treksoft.kvision.modal/-alert') diff --git a/docs/api/pl.treksoft.kvision.modal/-alert/-init-.html b/docs/api/pl.treksoft.kvision.modal/-alert/-init-.html index 6843304e..28dffea4 100644 --- a/docs/api/pl.treksoft.kvision.modal/-alert/-init-.html +++ b/docs/api/pl.treksoft.kvision.modal/-alert/-init-.html @@ -8,15 +8,15 @@ kvision / pl.treksoft.kvision.modal / Alert / <init>

<init>

- -Alert(caption: String? = null, text: String? = null, rich: Boolean = false, align: ALIGN? = null, size: MODALSIZE? = null, animation: Boolean = true, callback: () -> Unit = null) + +Alert(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: () -> Unit = null)

Parameters

caption - window title

text - window content text.

-rich - determines if text can contain HTML code

+rich - determines if text can contain HTML code

align - text align

diff --git a/docs/api/pl.treksoft.kvision.modal/-alert/align.html b/docs/api/pl.treksoft.kvision.modal/-alert/align.html index 50bfd562..e3d0bf4d 100644 --- a/docs/api/pl.treksoft.kvision.modal/-alert/align.html +++ b/docs/api/pl.treksoft.kvision.modal/-alert/align.html @@ -9,7 +9,7 @@

align

-var align: ALIGN? +var align: Align?

Text align.

diff --git a/docs/api/pl.treksoft.kvision.modal/-alert/index.html b/docs/api/pl.treksoft.kvision.modal/-alert/index.html index 80b5facf..4a5a7428 100644 --- a/docs/api/pl.treksoft.kvision.modal/-alert/index.html +++ b/docs/api/pl.treksoft.kvision.modal/-alert/index.html @@ -18,7 +18,7 @@

<init>

-Alert(caption: String? = null, text: String? = null, rich: Boolean = false, align: ALIGN? = null, size: MODALSIZE? = null, animation: Boolean = true, callback: () -> Unit = null) +Alert(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: () -> Unit = null) @@ -30,7 +30,7 @@

align

-var align: ALIGN? +var align: Align?

Text align.

@@ -72,7 +72,7 @@ var caption: String? -

Window content text.

+

Window caption text.

@@ -89,7 +89,7 @@

size

-var size: MODALSIZE? +var size: ModalSize?

Window size.

@@ -150,6 +150,15 @@ +

getChildren

+ + +open fun getChildren(): List<Component> +

Returns a list of children of the current container.

+ + + +

getSnAttrs

@@ -168,6 +177,24 @@ +

remove

+ + +open fun remove(child: Component): SimplePanel +

Removes given component from the current container.

+ + + + +

removeAll

+ + +open fun removeAll(): SimplePanel +

Removes all children from the current container.

+ + + +

removeAllButtons

@@ -203,7 +230,7 @@

show

-fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: ALIGN? = null, size: MODALSIZE? = null, animation: Boolean = true, callback: () -> Unit = null): Unit +fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: () -> Unit = null): Unit

Helper function for opening Alert window.

diff --git a/docs/api/pl.treksoft.kvision.modal/-alert/show.html b/docs/api/pl.treksoft.kvision.modal/-alert/show.html index 3109e8c5..80c160e4 100644 --- a/docs/api/pl.treksoft.kvision.modal/-alert/show.html +++ b/docs/api/pl.treksoft.kvision.modal/-alert/show.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.modal / Alert / show

show

- -fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: ALIGN? = null, size: MODALSIZE? = null, animation: Boolean = true, callback: () -> Unit = null): Unit + +fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: () -> Unit = null): Unit

Helper function for opening Alert window.

Parameters

@@ -17,7 +17,7 @@

text - window content text.

-rich - determines if text can contain HTML code

+rich - determines if text can contain HTML code

align - text align

-- cgit