From 4792e81070aa2bed027720875e3c2ea7462f282b Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 27 Feb 2018 10:07:02 +0100 Subject: [PATCH] Updated API documentantion. --- docs/api/index-outline.html | 12 ++++++-- .../-abstract-text-input/after-postpatch.html | 16 ++++++++++ .../-abstract-text-input/index.html | 18 ++++++------ .../-rich-text-input/index.html | 9 ++++++ .../-text-area-input/index.html | 9 ++++++ .../-text-input/index.html | 9 ++++++ .../-window/after-destroy.html | 16 ++++++++++ .../-window/focus.html | 15 ++++++++++ .../-window/index.html | 29 ++++++++++++++++++- .../-window/to-front.html | 15 ++++++++++ .../-window/window.html | 2 +- 11 files changed, 137 insertions(+), 13 deletions(-) create mode 100644 docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/after-postpatch.html create mode 100644 docs/api/pl.treksoft.kvision.window/-window/after-destroy.html create mode 100644 docs/api/pl.treksoft.kvision.window/-window/focus.html create mode 100644 docs/api/pl.treksoft.kvision.window/-window/to-front.html diff --git a/docs/api/index-outline.html b/docs/api/index-outline.html index 0c234812604..5a2437ad0df 100644 --- a/docs/api/index-outline.html +++ b/docs/api/index-outline.html @@ -67,6 +67,7 @@ AbstractTextInput(value: String? = null, classes: Set<String> = setOf())
protected open fun afterInsert(node: VNode): Unit
+protected open fun afterPostpatch(node: VNode): Unit
var autofocus: Boolean?
open fun blur(): Unit
var disabled: Boolean
@@ -2508,16 +2509,19 @@ open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
protected open fun afterCreate(node: VNode): Unit
+protected open fun afterDestroy(): Unit
var caption: String?
var closeButton: Boolean
var contentHeight: CssSize?
var contentWidth: CssSize?
+open fun focus(): Unit
open fun getChildren(): List<Component>
var isDraggable: Boolean
var isResizable: Boolean
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
-fun Container.window(caption: String? = null, width: CssSize? = CssSize(0, UNIT.auto), height: CssSize? = CssSize(0, UNIT.auto), resizable: Boolean = true, draggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null): Window
+open fun toFront(): Unit
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null): Window
@@ -4055,6 +4059,7 @@ AbstractTextInput(value: String? = null, classes: Set<String> = setOf())
protected open fun afterInsert(node: VNode): Unit
+protected open fun afterPostpatch(node: VNode): Unit
var autofocus: Boolean?
open fun blur(): Unit
var disabled: Boolean
@@ -5376,16 +5381,19 @@ open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
protected open fun afterCreate(node: VNode): Unit
+protected open fun afterDestroy(): Unit
var caption: String?
var closeButton: Boolean
var contentHeight: CssSize?
var contentWidth: CssSize?
+open fun focus(): Unit
open fun getChildren(): List<Component>
var isDraggable: Boolean
var isResizable: Boolean
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
-fun Container.window(caption: String? = null, width: CssSize? = CssSize(0, UNIT.auto), height: CssSize? = CssSize(0, UNIT.auto), resizable: Boolean = true, draggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null): Window
+open fun toFront(): Unit
+fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null): Window
diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/after-postpatch.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/after-postpatch.html new file mode 100644 index 00000000000..eb1f1c6046a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/after-postpatch.html @@ -0,0 +1,16 @@ + + + +AbstractTextInput.afterPostpatch - kvision + + + +kvision / pl.treksoft.kvision.form.text / AbstractTextInput / afterPostpatch
+
+

afterPostpatch

+ +protected open fun afterPostpatch(node: VNode): Unit +

Overrides Widget.afterPostpatch

+

Method called after updating Snabbdom vnode.

+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/index.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/index.html index 1323c61ac91..dc8845490a9 100644 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/index.html +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/index.html @@ -181,6 +181,15 @@

Functions

+

afterPostpatch

+ + +open fun afterPostpatch(node: VNode): Unit +

Method called after updating Snabbdom vnode.

+ + + +

blur

@@ -258,15 +267,6 @@

Inherited Functions

-

afterPostpatch

- - -open fun afterPostpatch(node: VNode): Unit -

Method called after updating Snabbdom vnode.

- - - -

clearDragDropData

diff --git a/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/index.html b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/index.html index c4c1a7f08b0..02d882539d6 100644 --- a/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/index.html +++ b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/index.html @@ -154,6 +154,15 @@

Inherited Functions

+

afterPostpatch

+ + +open fun afterPostpatch(node: VNode): Unit +

Method called after updating Snabbdom vnode.

+ + + +

blur

diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-area-input/index.html b/docs/api/pl.treksoft.kvision.form.text/-text-area-input/index.html index 3acb438bacb..f710cb5463e 100644 --- a/docs/api/pl.treksoft.kvision.form.text/-text-area-input/index.html +++ b/docs/api/pl.treksoft.kvision.form.text/-text-area-input/index.html @@ -177,6 +177,15 @@

Inherited Functions

+

afterPostpatch

+ + +open fun afterPostpatch(node: VNode): Unit +

Method called after updating Snabbdom vnode.

+ + + +

blur

diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-input/index.html b/docs/api/pl.treksoft.kvision.form.text/-text-input/index.html index 986910517fa..676988c47bb 100644 --- a/docs/api/pl.treksoft.kvision.form.text/-text-input/index.html +++ b/docs/api/pl.treksoft.kvision.form.text/-text-input/index.html @@ -168,6 +168,15 @@

Inherited Functions

+

afterPostpatch

+ + +open fun afterPostpatch(node: VNode): Unit +

Method called after updating Snabbdom vnode.

+ + + +

blur

diff --git a/docs/api/pl.treksoft.kvision.window/-window/after-destroy.html b/docs/api/pl.treksoft.kvision.window/-window/after-destroy.html new file mode 100644 index 00000000000..21da8481888 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.window/-window/after-destroy.html @@ -0,0 +1,16 @@ + + + +Window.afterDestroy - kvision + + + +kvision / pl.treksoft.kvision.window / Window / afterDestroy
+
+

afterDestroy

+ +protected open fun afterDestroy(): Unit +

Overrides Widget.afterDestroy

+

Method called after destroying Snabbdom vnode.

+ + diff --git a/docs/api/pl.treksoft.kvision.window/-window/focus.html b/docs/api/pl.treksoft.kvision.window/-window/focus.html new file mode 100644 index 00000000000..e765ceda6f9 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.window/-window/focus.html @@ -0,0 +1,15 @@ + + + +Window.focus - kvision + + + +kvision / pl.treksoft.kvision.window / Window / focus
+
+

focus

+ +open fun focus(): Unit +

Makes the current window focused.

+ + diff --git a/docs/api/pl.treksoft.kvision.window/-window/index.html b/docs/api/pl.treksoft.kvision.window/-window/index.html index 9e238beef7f..8a45ef9e5b3 100644 --- a/docs/api/pl.treksoft.kvision.window/-window/index.html +++ b/docs/api/pl.treksoft.kvision.window/-window/index.html @@ -113,6 +113,24 @@

Functions

+

afterDestroy

+ + +open fun afterDestroy(): Unit +

Method called after destroying Snabbdom vnode.

+ + + + +

focus

+ + +open fun focus(): Unit +

Makes the current window focused.

+ + + +

getChildren

@@ -138,6 +156,15 @@

Functions

Removes all children from the current container.

+ + +

toFront

+ + +open fun toFront(): Unit +

Moves the current window to the front.

+ +

Inherited Functions

@@ -180,7 +207,7 @@

Companion Object Functions

window

-fun Container.window(caption: String? = null, width: CssSize? = CssSize(0, UNIT.auto), height: CssSize? = CssSize(0, UNIT.auto), resizable: Boolean = true, draggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null): Window +fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null): Window

DSL builder extension function.

diff --git a/docs/api/pl.treksoft.kvision.window/-window/to-front.html b/docs/api/pl.treksoft.kvision.window/-window/to-front.html new file mode 100644 index 00000000000..73b48625bf4 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.window/-window/to-front.html @@ -0,0 +1,15 @@ + + + +Window.toFront - kvision + + + +kvision / pl.treksoft.kvision.window / Window / toFront
+
+

toFront

+ +open fun toFront(): Unit +

Moves the current window to the front.

+ + diff --git a/docs/api/pl.treksoft.kvision.window/-window/window.html b/docs/api/pl.treksoft.kvision.window/-window/window.html index 49b62856c26..452d2636e97 100644 --- a/docs/api/pl.treksoft.kvision.window/-window/window.html +++ b/docs/api/pl.treksoft.kvision.window/-window/window.html @@ -9,7 +9,7 @@

window

-fun Container.window(caption: String? = null, width: CssSize? = CssSize(0, UNIT.auto), height: CssSize? = CssSize(0, UNIT.auto), resizable: Boolean = true, draggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null): Window +fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null): Window

DSL builder extension function.

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