From 7c2850063697f94a0d8b8d8f8588136dd4b3d05e Mon Sep 17 00:00:00 2001
From: Robert Jaros
Date: Sun, 21 Oct 2018 23:59:34 +0200
Subject: API documentation for KVision 0.0.19
---
.../pl.treksoft.kvision.window/-window/-init-.html | 33 +++
.../-window/add-all.html | 21 ++
.../pl.treksoft.kvision.window/-window/add.html | 21 ++
.../-window/after-create.html | 16 ++
.../-window/after-destroy.html | 16 ++
.../-window/caption.html | 15 ++
.../-window/close-button.html | 15 ++
.../-window/content-height.html | 15 ++
.../-window/content-overflow.html | 15 ++
.../-window/content-width.html | 15 ++
.../pl.treksoft.kvision.window/-window/focus.html | 15 ++
.../-window/get-children.html | 18 ++
.../pl.treksoft.kvision.window/-window/index.html | 226 +++++++++++++++++++++
.../-window/is-draggable.html | 21 ++
.../-window/is-resizable.html | 21 ++
.../-window/remove-all.html | 18 ++
.../pl.treksoft.kvision.window/-window/remove.html | 21 ++
.../-window/to-front.html | 15 ++
.../pl.treksoft.kvision.window/-window/window.html | 16 ++
19 files changed, 553 insertions(+)
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/-init-.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/add-all.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/add.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/after-create.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/after-destroy.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/caption.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/close-button.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/content-height.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/content-overflow.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/content-width.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/focus.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/get-children.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/index.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/is-draggable.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/is-resizable.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/remove-all.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/remove.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/to-front.html
create mode 100644 api/kvision/pl.treksoft.kvision.window/-window/window.html
(limited to 'api/kvision/pl.treksoft.kvision.window/-window')
diff --git a/api/kvision/pl.treksoft.kvision.window/-window/-init-.html b/api/kvision/pl.treksoft.kvision.window/-window/-init-.html
new file mode 100644
index 00000000..f5bfd9a3
--- /dev/null
+++ b/api/kvision/pl.treksoft.kvision.window/-window/-init-.html
@@ -0,0 +1,33 @@
+
+
+
+Window. - kvision
+
+
+
+kvision / pl.treksoft.kvision.window / Window / <init>
+
+<init>
+
+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)
+Parameters
+
+caption - window title
+
+contentWidth - window content width
+
+contentHeight - window content height
+
+isResizable - determines if the window is resizable
+
+isDraggable - determines if the window is draggable
+
+closeButton - determines if Close button is visible
+
+classes - a set of CSS class names
+
+init - an initializer extension function
+Constructor
+
+
+
diff --git a/api/kvision/pl.treksoft.kvision.window/-window/add-all.html b/api/kvision/pl.treksoft.kvision.window/-window/add-all.html
new file mode 100644
index 00000000..bd2fb310
--- /dev/null
+++ b/api/kvision/pl.treksoft.kvision.window/-window/add-all.html
@@ -0,0 +1,21 @@
+
+
+
+Window.addAll - kvision
+
+
+
+kvision / pl.treksoft.kvision.window / Window / addAll
+
+addAll
+
+open fun addAll(children: List<Component>): SimplePanel
+Overrides SimplePanel.addAll
+Adds a list of components to the current container.
+Parameters
+
+children - list of child components
+Return
+current container
+
+
diff --git a/api/kvision/pl.treksoft.kvision.window/-window/add.html b/api/kvision/pl.treksoft.kvision.window/-window/add.html
new file mode 100644
index 00000000..ad688a2c
--- /dev/null
+++ b/api/kvision/pl.treksoft.kvision.window/-window/add.html
@@ -0,0 +1,21 @@
+
+
+
+Window.add - kvision
+
+
+
+kvision / pl.treksoft.kvision.window / Window / add
+
+add
+
+open fun add(child: Component): SimplePanel
+Overrides SimplePanel.add
+Adds given component to the current container.
+Parameters
+
+child - child component
+Return
+current container
+
+
diff --git a/api/kvision/pl.treksoft.kvision.window/-window/after-create.html b/api/kvision/pl.treksoft.kvision.window/-window/after-create.html
new file mode 100644
index 00000000..53d6b602
--- /dev/null
+++ b/api/kvision/pl.treksoft.kvision.window/-window/after-create.html
@@ -0,0 +1,16 @@
+
+
+
+Window.afterCreate - kvision
+
+
+
+kvision / pl.treksoft.kvision.window / Window / afterCreate
+
+afterCreate
+
+protected open fun afterCreate(node: VNode): Unit
+Overrides Widget.afterCreate
+Method called after creating Snabbdom vnode.
+
+
diff --git a/api/kvision/pl.treksoft.kvision.window/-window/after-destroy.html b/api/kvision/pl.treksoft.kvision.window/-window/after-destroy.html
new file mode 100644
index 00000000..21da8481
--- /dev/null
+++ b/api/kvision/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/api/kvision/pl.treksoft.kvision.window/-window/caption.html b/api/kvision/pl.treksoft.kvision.window/-window/caption.html
new file mode 100644
index 00000000..69fd1862
--- /dev/null
+++ b/api/kvision/pl.treksoft.kvision.window/-window/caption.html
@@ -0,0 +1,15 @@
+
+
+
+Window.caption - kvision
+
+
+
+kvision / pl.treksoft.kvision.window / Window / caption
+
+caption
+
+var caption: String?
+Window caption text.
+
+
diff --git a/api/kvision/pl.treksoft.kvision.window/-window/close-button.html b/api/kvision/pl.treksoft.kvision.window/-window/close-button.html
new file mode 100644
index 00000000..9653cd94
--- /dev/null
+++ b/api/kvision/pl.treksoft.kvision.window/-window/close-button.html
@@ -0,0 +1,15 @@
+
+
+
+Window.closeButton - kvision
+
+
+
+kvision / pl.treksoft.kvision.window / Window / closeButton
+
+closeButton
+
+var closeButton: Boolean
+Determines if Close button is visible.
+
+
diff --git a/api/kvision/pl.treksoft.kvision.window/-window/content-height.html b/api/kvision/pl.treksoft.kvision.window/-window/content-height.html
new file mode 100644
index 00000000..fb8bd146
--- /dev/null
+++ b/api/kvision/pl.treksoft.kvision.window/-window/content-height.html
@@ -0,0 +1,15 @@
+
+
+
+Window.contentHeight - kvision
+
+
+
+kvision / pl.treksoft.kvision.window / Window / contentHeight
+
+contentHeight
+
+var contentHeight: CssSize?
+Window content height.
+
+
diff --git a/api/kvision/pl.treksoft.kvision.window/-window/content-overflow.html b/api/kvision/pl.treksoft.kvision.window/-window/content-overflow.html
new file mode 100644
index 00000000..d1478b00
--- /dev/null
+++ b/api/kvision/pl.treksoft.kvision.window/-window/content-overflow.html
@@ -0,0 +1,15 @@
+
+
+
+Window.contentOverflow - kvision
+
+
+
+kvision / pl.treksoft.kvision.window / Window / contentOverflow
+
+contentOverflow
+
+var contentOverflow: Overflow?
+Window content height.
+
+
diff --git a/api/kvision/pl.treksoft.kvision.window/-window/content-width.html b/api/kvision/pl.treksoft.kvision.window/-window/content-width.html
new file mode 100644
index 00000000..04fe1927
--- /dev/null
+++ b/api/kvision/pl.treksoft.kvision.window/-window/content-width.html
@@ -0,0 +1,15 @@
+
+
+
+Window.contentWidth - kvision
+
+
+
+kvision / pl.treksoft.kvision.window / Window / contentWidth
+
+contentWidth
+
+var contentWidth: CssSize?
+Window content width.
+
+
diff --git a/api/kvision/pl.treksoft.kvision.window/-window/focus.html b/api/kvision/pl.treksoft.kvision.window/-window/focus.html
new file mode 100644
index 00000000..e765ceda
--- /dev/null
+++ b/api/kvision/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/api/kvision/pl.treksoft.kvision.window/-window/get-children.html b/api/kvision/pl.treksoft.kvision.window/-window/get-children.html
new file mode 100644
index 00000000..68cb762f
--- /dev/null
+++ b/api/kvision/pl.treksoft.kvision.window/-window/get-children.html
@@ -0,0 +1,18 @@
+
+
+
+Window.getChildren - kvision
+
+
+
+kvision / pl.treksoft.kvision.window / Window / getChildren
+
+getChildren
+
+open fun getChildren(): List<Component>
+Overrides SimplePanel.getChildren
+Returns a list of children of the current container.
+Return
+list of children
+
+
diff --git a/api/kvision/pl.treksoft.kvision.window/-window/index.html b/api/kvision/pl.treksoft.kvision.window/-window/index.html
new file mode 100644
index 00000000..f9c9c6a3
--- /dev/null
+++ b/api/kvision/pl.treksoft.kvision.window/-window/index.html
@@ -0,0 +1,226 @@
+
+
+
+Window - kvision
+
+
+
+kvision / pl.treksoft.kvision.window / Window
+
+Window
+open class Window : SimplePanel
+Floating window container.
+Constructors
+
+Properties
+
+Functions
+
+
+
+|
+ add
+ |
+
+open fun add(child: Component): SimplePanel
+Adds given component to the current container.
+ |
+
+
+|
+ addAll
+ |
+
+open fun addAll(children: List<Component>): SimplePanel
+Adds a list of components to the current container.
+ |
+
+
+|
+ afterCreate
+ |
+
+open fun afterCreate(node: VNode): Unit
+Method called after creating Snabbdom vnode.
+ |
+
+
+|
+ afterDestroy
+ |
+
+open fun afterDestroy(): Unit
+Method called after destroying Snabbdom vnode.
+ |
+
+
+|
+ focus
+ |
+
+open fun focus(): Unit
+Makes the current window focused.
+ |
+
+
+|
+ getChildren
+ |
+
+open fun getChildren(): List<Component>
+Returns a list of children of the current container.
+ |
+
+
+|
+ 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.
+ |
+
+
+|
+ toFront
+ |
+
+open fun toFront(): Unit
+Moves the current window to the front.
+ |
+
+
+
+Inherited Functions
+
+
+
+|
+ addInternal
+ |
+
+fun addInternal(child: Component): SimplePanel
+Protected and final method to add given component to the current container.
+ |
+
+
+|
+ childrenVNodes
+ |
+
+open fun childrenVNodes(): Array<VNode>
+Returns the array of the children Snabbdom vnodes.
+ |
+
+
+|
+ render
+ |
+
+open fun render(): VNode
+Renders current component as a Snabbdom vnode.
+ |
+
+
+
+Companion Object Functions
+
+
+
diff --git a/api/kvision/pl.treksoft.kvision.window/-window/is-draggable.html b/api/kvision/pl.treksoft.kvision.window/-window/is-draggable.html
new file mode 100644
index 00000000..6432d5fb
--- /dev/null
+++ b/api/kvision/pl.treksoft.kvision.window/-window/is-draggable.html
@@ -0,0 +1,21 @@
+
+
+
+Window.isDraggable - kvision
+
+
+
+kvision / pl.treksoft.kvision.window / Window / isDraggable
+
+isDraggable
+
+var isDraggable: Boolean
+Determines if the window is draggable.
+Getter
+
Determines if the window is draggable.
+
+Setter
+
Determines if the window is draggable.
+
+
+
diff --git a/api/kvision/pl.treksoft.kvision.window/-window/is-resizable.html b/api/kvision/pl.treksoft.kvision.window/-window/is-resizable.html
new file mode 100644
index 00000000..3aa1e97a
--- /dev/null
+++ b/api/kvision/pl.treksoft.kvision.window/-window/is-resizable.html
@@ -0,0 +1,21 @@
+
+
+
+Window.isResizable - kvision
+
+
+
+kvision / pl.treksoft.kvision.window / Window / isResizable
+
+isResizable
+
+var isResizable: Boolean
+Determines if the window is resizable.
+Getter
+
Determines if the window is resizable.
+
+Setter
+
Determines if the window is resizable.
+
+
+
diff --git a/api/kvision/pl.treksoft.kvision.window/-window/remove-all.html b/api/kvision/pl.treksoft.kvision.window/-window/remove-all.html
new file mode 100644
index 00000000..ad12c1d6
--- /dev/null
+++ b/api/kvision/pl.treksoft.kvision.window/-window/remove-all.html
@@ -0,0 +1,18 @@
+
+
+
+Window.removeAll - kvision
+
+
+
+kvision / pl.treksoft.kvision.window / Window / removeAll
+
+removeAll
+
+open fun removeAll(): SimplePanel
+Overrides SimplePanel.removeAll
+Removes all children from the current container.
+Return
+current container
+
+
diff --git a/api/kvision/pl.treksoft.kvision.window/-window/remove.html b/api/kvision/pl.treksoft.kvision.window/-window/remove.html
new file mode 100644
index 00000000..aa47c2e0
--- /dev/null
+++ b/api/kvision/pl.treksoft.kvision.window/-window/remove.html
@@ -0,0 +1,21 @@
+
+
+
+Window.remove - kvision
+
+
+
+kvision / pl.treksoft.kvision.window / Window / remove
+
+remove
+
+open fun remove(child: Component): SimplePanel
+Overrides SimplePanel.remove
+Removes given component from the current container.
+Parameters
+
+child - child component
+Return
+current container
+
+
diff --git a/api/kvision/pl.treksoft.kvision.window/-window/to-front.html b/api/kvision/pl.treksoft.kvision.window/-window/to-front.html
new file mode 100644
index 00000000..73b48625
--- /dev/null
+++ b/api/kvision/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/api/kvision/pl.treksoft.kvision.window/-window/window.html b/api/kvision/pl.treksoft.kvision.window/-window/window.html
new file mode 100644
index 00000000..452d2636
--- /dev/null
+++ b/api/kvision/pl.treksoft.kvision.window/-window/window.html
@@ -0,0 +1,16 @@
+
+
+
+Window.window - kvision
+
+
+
+kvision / pl.treksoft.kvision.window / Window / window
+
+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.
+
+
--
cgit